Manual:UpdateSearchIndex

From MediaWiki.org

Jump to: navigation, search
MediaWiki File: updateSearchIndex.php
Location: /maintenance/
Source code: HEAD

1.15.11.14.11.6.12

Classes: None

updateSearchIndex.php is a maintenance script used to update text search index for the recently changed pages. Note that, it will not update the search index for the pages not appear in Special:Recentchanges.

[edit] Invocation

php maintenance/updateSearchIndex.php [-s start-timestamp] [-e end-timestamp] [-p posfile] [-l locktime] [-q]

[edit] Example

$ php maintenance/updateSearchIndex.php -s 20081020224040
Updating searchindex between 20081020224040 and 20091209103945
   --- Waiting for lock ---
    --- Unlocking --
Done