Manual:Rebuildtextindex.php/ja

rebuildtextindex.php is a maintenance script used to [re]create the text index that allows users to use the search facility in your wiki. 検索結果がないか、またはほとんどないことに気付いた場合に、これを実行すべきです.

データベースのサイズやサーバーの設定によっては、この処理には数時間かかる場合があります.

Invocation
php maintenance/rebuildtextindex.php

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

注記

 * Note that 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.

関連項目

 * - a script to rebuild only recently updated pages.