Manual:updateSearchIndex.php
From MediaWiki.org
| MediaWiki File: updateSearchIndex.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | |
| Classes: | UpdateSearchIndex |
| MediaWiki File: UpdateSearchIndex.inc | |
|---|---|
| Location: | maintenance/ |
| Source code: | |
| Classes: | UpdateSearchIndex |
updateSearchIndex.php is a maintenance script used for periodic off-peak updating of the search index for the recently changed pages.
Invocation [edit]
php maintenance/updateSearchIndex.php [-s start-timestamp] [-e end-timestamp] [-p posfile] [-l locktime] [-q]
Example [edit]
$ php maintenance/updateSearchIndex.php -s 20081020224040
Updating searchindex between 20081020224040 and 20091209103945
--- Waiting for lock ---
--- Unlocking --
Done
Notes [edit]
- It will not update the search index for the pages that do not appear in Special:Recentchanges.