Phabricator project: #Elasticsearch
Extension:Elastica
Elastica Release status: stable | |
---|---|
Implementation | Search |
Description | Provides base elasticsearch functionality |
Author(s) |
|
MediaWiki | 1.25+ |
PHP | 5.4+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | README |
Translate the Elastica extension if it is available at translatewiki.net | |
Check usage and version matrix. | |
Open tasks · Report a bug |
The Elastica extension provides base elasticsearch functionality. Further information is available on the CirrusSearch extension's page.
Elastica[edit]
- Download and place the file(s) in a directory called
Elastica
in yourextensions/
folder.
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'Elastica' );
- In the downloaded files, open a command line and change to the subdirectory of the "Elastica" extension
- Run
composer install --no-dev
- If you don’t have Composer yet, you can download it from https://getcomposer.org (see also Composer )
Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.24 or earlier:
The instructions above describe the new way of installing this extension using wfLoadExtension()
If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'Elastica' );
, you need to use:
require_once "$IP/extensions/Elastica/Elastica.php";
![]() | This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |