jenkins-bot has submitted this change and it was merged.

Change subject: Make ES the primary TTMServer backend and drop Solr
......................................................................


Make ES the primary TTMServer backend and drop Solr

Change-Id: I3026ef9647be25514adc5a3628cc5f118cd28662
---
M wmf-config/CommonSettings.php
1 file changed, 1 insertion(+), 14 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  Nemo bis: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 8d26ba8..c743adf 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2226,25 +2226,12 @@
 
        $wgTranslateTranslationServices = array();
        if ( $wmgUseTranslationMemory ) {
-               $wgTranslateTranslationServices['TTMServer'] = array(
-                       'type' => 'ttmserver',
-                       'class' => 'SolrTTMServer',
-                       'cutoff' => 0.60,
-                       'config' => array(
-                               'adapteroptions' => array(
-                                       'host' => 'zinc.eqiad.wmnet',
-                                       'timeout' => 10,
-                               ),
-                               'adapter' => 'Solarium_Client_Adapter_Curl',
-                       ),
-               );
-
                $servers = array_map(
                        function ( $v ) { return array( 'host' => $v ); },
                        $wgCirrusSearchServers
                );
                // Read only until renamed to 'TTMServer'
-               $wgTranslateTranslationServices['TTMServer-esmigration'] = 
array(
+               $wgTranslateTranslationServices['TTMServer'] = array(
                        'type' => 'ttmserver',
                        'class' => 'ElasticSearchTTMServer',
                        'shards' => 1,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3026ef9647be25514adc5a3628cc5f118cd28662
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Nemo bis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to