Smalyshev has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/353106 )

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(-)


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

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/353106
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5811fb8c35e7cd26c32ecfbc949ef37ee19a7a4b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: wmf/1.30.0-wmf.1
Gerrit-Owner: Smalyshev <[email protected]>

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

Reply via email to