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.

The  parser function is used to set several configuration variables that cannot be passed to the API for security reasons. It sets the search condition for that page, the list of facet properties, and the list of result properties.

The facet and result 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: