Manual:Rebuildtextindex.php/pl

rebuildtextindex.php is a maintenance script used to [re]create the text index that allows users to use the search facility in your wiki. Skorzystaj z niego, jeżeli wyszukiwarka nie zwraca żadnych wyników lub tylko częściowo.

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

Wywołanie
php maintenance/rebuildtextindex.php

Przykład
vi-notebook:/var/lib/mediawiki1.7# php maintenance/rebuildtextindex.php Dropping index... Rebuilding index fields for 1426 pages... 1000 Rebuild the index... Done.

Uwagi

 * Note that before MediaWiki 1.25 this does only add new entries to the table for existing pages, but it doesn't purge that table for deleted pages. If you get wrong search results (e.g. because deleted pages are still in the searchindex table data), this script will not help . To purge old entries, delete all rows of that table before running the script. This is no longer necessary since MediaWiki 1.25.

Zobacz też

 * - a script to rebuild only recently updated pages.