Followup r54225
authorSam Reed <reedy@users.mediawiki.org>
Thu, 19 Aug 2010 11:32:01 +0000 (11:32 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 19 Aug 2010 11:32:01 +0000 (11:32 +0000)
Adding $u->doUpdate(); after $u = new SearchUpdate( $row->rc_cur_id, $title, false );

Seems to make sense, otherwise the function doesn't seem to do a great deal!

maintenance/updateSearchIndex.php

index bf1b0d3..e47eb69 100644 (file)
@@ -109,6 +109,7 @@ class UpdateSearchIndex extends Maintenance {
                        $title = $titleObj->getPrefixedDBkey();
                        $this->output( "$title..." );
                        $u = new SearchUpdate( $row->rc_cur_id, $title, false );
+                       $u->doUpdate();
                        $this->output( "\n" );
                } elseif ( $row->rc_type !== RC_LOG ) {
                        $this->updateSearchIndexForPage( $dbw, $row->rc_cur_id );