Tjones has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/350312 )
Change subject: Enable BM25 for Chinese wikis
......................................................................
Enable BM25 for Chinese wikis
Enable BM25 scoring and other features, including phrase handling,
for Chinese wikis after new language analysis is complete
Bug: T163829
Change-Id: I2ef0dd2d3623c1b51819b5eb276d84c240cc4f34
Depends-On: I03fc83e389d17a4eaa69323e070f7e0c8491976d
---
M tests/cirrusTest.php
M wmf-config/InitialiseSettings.php
2 files changed, 3 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/12/350312/1
diff --git a/tests/cirrusTest.php b/tests/cirrusTest.php
index eec305a..fbaf5df 100644
--- a/tests/cirrusTest.php
+++ b/tests/cirrusTest.php
@@ -263,9 +263,9 @@
return [
'zhwiki' => [ 'zhwiki', 'wiki',
[
- 'wmgCirrusSearchSimilarityProfile' =>
'default',
- 'wmgCirrusSearchRescoreProfile' =>
'classic',
-
'wmgCirrusSearchFullTextQueryBuilderProfile' => 'default',
+ 'wmgCirrusSearchSimilarityProfile' =>
'wmf_defaults',
+ 'wmgCirrusSearchRescoreProfile' =>
'wsum_inclinks',
+
'wmgCirrusSearchFullTextQueryBuilderProfile' => 'perfield_builder',
],
],
'zh_min_nanwikisource' => [ 'zh_min_nanwikisource',
'wikisource',
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 4b9dcf9..eecd299 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -17323,7 +17323,6 @@
"my" => "default",
"th" => "default",
"wuu" => "default",
- "zh" => "default",
"zh-classical" => "default", // should be deprecated in favor of lzh
"lzh" => "default", // zh-classical
"zh-yue" => "default", // should be deprecated in favor of yue
@@ -17353,7 +17352,6 @@
"my" => "classic",
"th" => "classic",
"wuu" => "classic",
- "zh" => "classic",
"zh-classical" => "classic", // should be deprecated in favor of lzh
"lzh" => "classic", // zh-classical
"zh-yue" => "classic", // should be deprecated in favor of yue
@@ -17381,7 +17379,6 @@
"my" => "default",
"th" => "default",
"wuu" => "default",
- "zh" => "default",
"zh-classical" => "default", // should be deprecated in favor of lzh
"lzh" => "default", // zh-classical
"zh-yue" => "default", // should be deprecated in favor of yue
--
To view, visit https://gerrit.wikimedia.org/r/350312
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ef0dd2d3623c1b51819b5eb276d84c240cc4f34
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Tjones <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits