Manual:Rebuildtextindex.php/en

Details
rebuildtextindex.php is a maintenance script used to [re]create the text index that allows users to use the search facility in your wiki. You should run it if you see that search gives no or few results.

This may take several hours, depending on the database size and server configuration.

Options/Arguments
This script does not take any options or arguments.