How to rebuild text index

From Meta, a Wikimedia project coordination wiki

In the case your search index, also known as text index is trashed, there is an nice script in the maintenance directory within the mediawiki directory. It is called:

rebuildtextindex.php

You need[edit]

  • php
  • database access
  • enough time - it can run for hours at big databases.

<tawet >

See also[edit]


Question ?[edit]

Will it be possible to just use "REPAIR TABLE searchindex QUICK" like suggested on http://www.mysql.org/doc/refman/5.1/en/fulltext-search.html ?