jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/353103 )

Change subject: Fix index usage on archive indexing
......................................................................


Fix index usage on archive indexing

The fields should match key index order: (ar_namespace,ar_title,ar_timestamp)

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

Approvals:
  EBernhardson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/maintenance/forceSearchIndex.php b/maintenance/forceSearchIndex.php
index dae8a9b..c391355 100644
--- a/maintenance/forceSearchIndex.php
+++ b/maintenance/forceSearchIndex.php
@@ -351,7 +351,7 @@
                $it = new BatchRowIterator(
                        $dbr,
                        'archive',
-                       [ 'ar_timestamp', 'ar_namespace', 'ar_title' ],
+                       [ 'ar_namespace', 'ar_title', 'ar_timestamp' ],
                        $this->mBatchSize
                );
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5811fb8c35e7cd26c32ecfbc949ef37ee19a7a4b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <[email protected]>
Gerrit-Reviewer: DCausse <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to