Extension:CirrusSearch

The CirrusSearch extension implements searching for MediaWiki using Elasticsearch. See Help:CirrusSearch for documentation.

Project goals

 * No weird dependencies that make this difficult to install
 * The only dependencies should be pure-PHP MediaWiki extensions and Elasticsearch itself
 * Provide a near-real-time search index for wiki pages that's extendable by other MediaWiki extensions
 * Provide all of the query options MWSearch has given users, and more

Dependencies

 * PHP
 * In addition to the standard MediaWiki requirements for PHP, CirrusSearch requires PHP to be compiled with cURL support.


 * Elasticsearch
 * You will need to install Elasticsearch. Information on installing/maintaining Elasticsearch itself can be found at elasticsearch.org. ElasticSearch 2.x is not supported. You will need to use 1.7. Support for 2.0 is underway and planned for mid-2016.


 * Extension:Elastica
 * Elastica is a PHP library to talk to Elasticsearch. Install this per instructions below

CirrusSearch
Now follow the setup instructions in CirrusSearch's README.

Configuration
Should be configured with the servers (names or IP addresses) running elasticsearch without providing the port. For example: Other configuration is available and is documented in the file.
 * $wgCirrusSearchServers