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

Change subject: Replace search_type scan, deprecated in ElasticSearch 2.1
......................................................................


Replace search_type scan, deprecated in ElasticSearch 2.1

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

Approvals:
  Cindy-the-browser-test-bot: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  DCausse: Looks good to me, approved



diff --git a/maintenance/metastore.php b/maintenance/metastore.php
index 9f81ab6..ecee102 100644
--- a/maintenance/metastore.php
+++ b/maintenance/metastore.php
@@ -141,7 +141,7 @@
                        $this->fatalError( "Cannot dump metastore: index does 
not exists. Please run --upgrade first" );
                }
                $scrollOptions = [
-                       'search_type' => 'scan',
+                       'search_type' => 'query_then_fetch',
                        'scroll' => "15m",
                        'size' => 100
                ];

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic819f6256799bce14466d3543122523edf23e41f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Boboivancich <[email protected]>
Gerrit-Reviewer: Cindy-the-browser-test-bot <[email protected]>
Gerrit-Reviewer: DCausse <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: Tjones <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to