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

Change subject: Switch English to kstem.
......................................................................


Switch English to kstem.

The old stemmer (Porter) was having trouble with words like "aliases"
and "uses".  kstem has problems as well, I believe there are fewer of
them.

Bug: 54811
Bug: 54022

Change-Id: I0722c13f7d023d8ad8a6845403be974262b91054
---
M includes/CirrusSearchAnalysisConfigBuilder.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/includes/CirrusSearchAnalysisConfigBuilder.php 
b/includes/CirrusSearchAnalysisConfigBuilder.php
index cd4ed84..761c14f 100644
--- a/includes/CirrusSearchAnalysisConfigBuilder.php
+++ b/includes/CirrusSearchAnalysisConfigBuilder.php
@@ -131,7 +131,7 @@
                        $filters[] = 'possessive_english';
                        $filters[] = 'lowercase';
                        $filters[] = 'stop';
-                       $filters[] = 'porter_stem';
+                       $filters[] = 'kstem';
                        $filters[] = 'asciifolding';
                        $config[ 'analyzer' ][ 'text' ][ 'filter' ] = $filters;
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0722c13f7d023d8ad8a6845403be974262b91054
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <never...@wikimedia.org>
Gerrit-Reviewer: Chad <ch...@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