Extension:WikiSearch

The WSSearch extension implements a faceted search API for Semantic MediaWiki using ElasticStore. Any extension can use it, but initially it has been developed in conjunction with WSSearchFront.

The extension performs direct queries on the Semantic MediaWiki ElasticSearch indices and does not store any information on its own.

Usage

 * See Extension:WSSearch/api on how to use the WSSearch API.
 * When also using Extension:WSSearchFront one does not need to know the details of the API. To set up a search engine use the parser functions  and   on a page.
 * Help:WSSearch describes the  parser function in more detail.

The  parser function is used to set several configuration variables that cannot be passed to the API for security reasons. It sets the search conditions for that page and the list of facet properties. The base query parameter can be used to limit the set of pages that are included in the search.

The facet property values should correspond to existing Semantic MediaWiki properties on your wiki. Example values:

Note: Only one call to  is allowed per page. Multiple calls will result in unexpected behavior.

Configuration
This extension provides the following optional configuration variables: