Status: | effective |
Progress: | 100% |
Version: | 3.2.0+ |
Maintenance script "rebuildElasticIndex.php"
rebuildElasticIndex.php | |
---|---|
Allows to rebuild all the semantic data for the Elasticsearch index | |
Further Information | |
Provided by: | Semantic MediaWiki |
Added: | 3.0.0 |
Removed: | still in use |
Location (path): | ./extensions/SemanticMediaWiki/maintenance/ |
Table of Contents | |
Contents |
The "rebuildElasticIndex.php" maintenance script allows to update the Elasticsearch data store (ElasticStore). The maintenance script was introduced in Semantic MediaWiki 3.2.0Released on 7 September 2020 and compatible with MW 1.31.0 - 1.35.x..12
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[edit]
php rebuildElasticIndex.php [--with-maintenance-log]
Parameters[edit]
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
Note: If you are using this parameter make sure that MediaWiki's configuration parameter |
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:3054
- ^ Semantic MediaWiki: GitHub pull request gh:smw:4474
- ^ Semantic MediaWiki: GitHub pull request gh:smw:4152
- ^ Semantic MediaWiki: GitHub issue gh:smw:1983
- ^ Semantic MediaWiki: GitHub pull request gh:smw:1985