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

Change subject: Switch hebrew to hebrew_exact for querying
......................................................................


Switch hebrew to hebrew_exact for querying

Change-Id: I10c044f00ceba17a1bcf49a8ba818bf7201a279b
---
M includes/AnalysisConfigBuilder.php
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/includes/AnalysisConfigBuilder.php 
b/includes/AnalysisConfigBuilder.php
index 8e7f101..52ac4ee 100644
--- a/includes/AnalysisConfigBuilder.php
+++ b/includes/AnalysisConfigBuilder.php
@@ -212,8 +212,8 @@
                case 'he':
                        // If the hebrew plugin kicked us over to the hebrew 
analyzer use its companion
                        // analyzer for queries.
-                       if ( $config[ 'analyzer' ][ 'text_search' ] === 
'hebrew' ) {
-                               $config[ 'analyzer' ][ 'text_search' ] = 
'hebrew_query';
+                       if ( $config[ 'analyzer' ][ 'text_search' ][ 'type' ] 
=== 'hebrew' ) {
+                               $config[ 'analyzer' ][ 'text_search' ][ 'type' 
] = 'hebrew_exact';
                        }
                }
                return $config;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I10c044f00ceba17a1bcf49a8ba818bf7201a279b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: wmf/1.24wmf3
Gerrit-Owner: Manybubbles <never...@wikimedia.org>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Manybubbles <never...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to