jenkins-bot has submitted this change and it was merged.
Change subject: Discount aggressively fuzzy suggestions
......................................................................
Discount aggressively fuzzy suggestions
I'm not sure to remember why plain stop was set to 0.001 while plain-fuzzy was
0.005. Anyways, fuzzy suggestions should be agressively discounted otherwize
ascii folded suggestions would be ranked lower than fuzzy ones.
Bug: T130352
Change-Id: I863ba2f379cf424ec81f6692870baa139c4da579
---
M profiles/SuggestProfiles.php
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Smalyshev: Looks good to me, approved
Cindy-the-browser-test-bot: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/profiles/SuggestProfiles.php b/profiles/SuggestProfiles.php
index 31d853c..d5db7af 100644
--- a/profiles/SuggestProfiles.php
+++ b/profiles/SuggestProfiles.php
@@ -57,7 +57,7 @@
'field' => 'suggest',
'min_query_len' => 3,
'max_query_len' => 4,
- 'discount' => 0.005,
+ 'discount' => 0.000001,
'fetch_limit_factor' => 2,
'fuzzy' => array(
'fuzzyness' => 'AUTO',
@@ -69,7 +69,7 @@
'field' => 'suggest-stop',
'min_query_len' => 3,
'max_query_len' => 4,
- 'discount' => 0.0001,
+ 'discount' => 0.0000001,
'fetch_limit_factor' => 1,
'fuzzy' => array(
'fuzzyness' => 'AUTO',
@@ -81,7 +81,7 @@
'plain_fuzzy_1' => array(
'field' => 'suggest',
'min_query_len' => 5,
- 'discount' => 0.005,
+ 'discount' => 0.000001,
'fetch_limit_factor' => 1,
'fuzzy' => array(
'fuzzyness' => 'AUTO',
@@ -92,7 +92,7 @@
'plain_stop_fuzzy_1' => array(
'field' => 'suggest-stop',
'min_query_len' => 5,
- 'discount' => 0.0001,
+ 'discount' => 0.0000001,
'fetch_limit_factor' => 1,
'fuzzy' => array(
'fuzzyness' => 'AUTO',
--
To view, visit https://gerrit.wikimedia.org/r/278274
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I863ba2f379cf424ec81f6692870baa139c4da579
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: DCausse <[email protected]>
Gerrit-Reviewer: Cindy-the-browser-test-bot <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits