DCausse has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/397887 )

Change subject: [search] better tuning with language fallbacks for prefix search
......................................................................

[search] better tuning with language fallbacks for prefix search

Tuned to make sure that important items that match the fallback
languages are close to the top.

Bug: T182136
Change-Id: Ic85f9518e81701d59514936d2ba07b675f6de3ee
---
M repo/config/EntityPrefixSearchProfiles.php
1 file changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/87/397887/1

diff --git a/repo/config/EntityPrefixSearchProfiles.php 
b/repo/config/EntityPrefixSearchProfiles.php
index 34deca9..9b73ef6 100644
--- a/repo/config/EntityPrefixSearchProfiles.php
+++ b/repo/config/EntityPrefixSearchProfiles.php
@@ -16,12 +16,12 @@
        // to do some work to validate them.
        'default' => [
                'any' => 0.001,
-               'lang-exact' => 2,
-               'lang-folded' => 1.8,
-               'lang-prefix' => 1.1,
-               'fallback-exact' => 1,
-               'fallback-folded' => 0.9,
-               'fallback-prefix' => 0.8,
-               'fallback-discount' => 0.1,
+                'lang-exact' => 2,
+                'lang-folded' => 1.6,
+                'lang-prefix' => 1.1,
+                'fallback-exact' => 1.9,
+                'fallback-folded' => 1.3,
+                'fallback-prefix' => 0.4,
+                'fallback-discount' => 0.9,
        ]
 ];

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic85f9518e81701d59514936d2ba07b675f6de3ee
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: DCausse <[email protected]>

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

Reply via email to