Status: | effective |
Progress: | 100% |
Version: | 3.2.0+ |
Help:Maintenance script rebuildElasticIndex.php
MediaWiki file: Maintenance script rebuildElasticIndex.php | |
---|---|
Location: | /maintenance/ |
Source code: | script rebuildElasticIndex.php master • script rebuildElasticIndex.php 1.41.1 • script rebuildElasticIndex.php 1.40.3 • script rebuildElasticIndex.php 1.39.7 |
Classes: | script rebuildElasticIndex.php Find code • script rebuildElasticIndex.php Find documentation |
maintenance script allows to update the Elasticsearch data store (ElasticStore). The maintenance script was introduced in Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki.12
The "rebuildElasticIndex.php"Depending on the size and editing activity of the respective wiki it is recommended to run this maintenance script either weekly or monthly via cron.
Usage
php rebuildElasticIndex.php [--with-maintenance-log]
Parameters
Maintenance scripts provide generic maintenance parameters, script dependent parameters and depending on the maintenance script script specific parameters which are described on this page if provided.
- Script specific parameters
Parameter | Description |
---|---|
--with-maintenance-log
|
Adds a log entry to the "Semantic MediaWiki log" on special page "Log" (&type=smw ).3
File:OOjs UI icon lightbulb-yellow.svg <translate> Note:</translate> If you are using this parameter make sure that MediaWiki's configuration parameter |