EBernhardson has uploaded a new change for review. https://gerrit.wikimedia.org/r/318022
Change subject: Change items inserted in scoring queue to match reality ...................................................................... Change items inserted in scoring queue to match reality We have been inserting a bunch of items into the scoring queue that we don't actually expect to ever be done. Rather than injecting the 5 times we 'hope' the query will be scored, insert 2 to match what we actually expect to happen. This should make it easier to write the code for injecting new items to the queue for queries without enough agreement. Change-Id: I2fa781f1054f55b618698352d998e95ed59a0e15 --- M app.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/discernatron refs/changes/22/318022/1 diff --git a/app.php b/app.php index ca4af5a..7dcf793 100644 --- a/app.php +++ b/app.php @@ -70,7 +70,7 @@ 'search.wikis' => [ 'enwiki' => 'https://en.wikipedia.org/w/api.php', ], - 'search.default_scoring_slots' => [1,1,3,4,5], + 'search.default_scoring_slots' => [5,5], ]); $app->mount('/', $relevanceScoringProvider); -- To view, visit https://gerrit.wikimedia.org/r/318022 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2fa781f1054f55b618698352d998e95ed59a0e15 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/discovery/discernatron Gerrit-Branch: master Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits