Manual:UpdateSearchIndex.php/cs

updateSearchIndex.php is a used for periodic off-peak updating of the search index for the recently changed pages. If you need to rebuild the search index entirely, run instead.

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

Příklad


Právo zapisovat
The script will write the end timestamp on the file specified by the  parameter, that will default to. The script will fail if the user executing the command doesn't have permissions to write to that file. To prevent the error, specify a file with write permissions, or create the file yourself and give it the appropriate permissions.

Poznámky

 * It will not update the search index for the pages that do not appear in Special:Recentchanges.
 * This script ignores the setting.