Manybubbles has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/81513


Change subject: Always use our text sanitization when rebuilding.
......................................................................

Always use our text sanitization when rebuilding.

Sometimes SearchIndex::create builds a different kind of search index so
we can't use it in forceSearchIndex.php.

Change-Id: Ie330748f1253baa587364f5fd44d8998218dab13
---
M forceSearchIndex.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/13/81513/1

diff --git a/forceSearchIndex.php b/forceSearchIndex.php
index 589cf0b..cfe546d 100644
--- a/forceSearchIndex.php
+++ b/forceSearchIndex.php
@@ -150,7 +150,7 @@
                wfProfileIn( __METHOD__ );
                $dbr = $this->getDB( DB_SLAVE );
                $minId = $dbr->addQuotes( $minId );
-               $search = SearchEngine::create();
+               $search = new CirrusSearch();
                if ( $maxUpdate === null ) {
                        $toIdPart = '';
                        if ( $this->toId !== null ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/81513
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie330748f1253baa587364f5fd44d8998218dab13
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <never...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to