summaryrefslogtreecommitdiff
path: root/maintenance/rebuildtextindex.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/rebuildtextindex.php')
-rw-r--r--maintenance/rebuildtextindex.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/maintenance/rebuildtextindex.php b/maintenance/rebuildtextindex.php
index bc85c666..e29d89e1 100644
--- a/maintenance/rebuildtextindex.php
+++ b/maintenance/rebuildtextindex.php
@@ -70,6 +70,7 @@ class RebuildTextIndex extends Maintenance {
if ( $this->db->getType() == 'mysql' ) {
$this->dropMysqlTextIndex();
+ $this->clearSearchIndex();
$this->populateSearchIndex();
$this->createMysqlTextIndex();
} else {