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

Change subject: Update browsertest search profile for es5
......................................................................

Update browsertest search profile for es5

The browser tests were still using a coordination factor. Updating to
es5 removes that coordination factor and caused a few changes to the
browser test results. Update weights so we get the expected results.

Bug: T155671
Change-Id: Ia65d11d170c9c782e37944fa84330868c42bea56
---
M profiles/FullTextQueryBuilderProfiles.config.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/88/333988/1

diff --git a/profiles/FullTextQueryBuilderProfiles.config.php 
b/profiles/FullTextQueryBuilderProfiles.config.php
index ee97d4e..ddfd106 100644
--- a/profiles/FullTextQueryBuilderProfiles.config.php
+++ b/profiles/FullTextQueryBuilderProfiles.config.php
@@ -54,7 +54,7 @@
                                // include them in a dismax with redirects
                                'suggest' => [
                                        'is_plain' => true,
-                                       'boost' => 2.1,
+                                       'boost' => 1.05,
                                        'in_dismax' => 'redirects_or_shingles',
                                ],
                                // category should win over heading/opening
@@ -75,9 +75,9 @@
                        ],
                        'phrase_rescore_fields' => [
                                // Low boost to counter high phrase rescore 
boost
-                               'text' => 0.07,
+                               'text' => 0.14,
                                // higher on text.plain for 
tests/browser/features/relevancy_api.feature:106
-                               'text.plain' => 0.1,
+                               'text.plain' => 0.2,
                        ],
                        'dismax_settings' => [
                                // Use a tie breaker, avg field length is so

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia65d11d170c9c782e37944fa84330868c42bea56
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: es5
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>

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

Reply via email to