Page MenuHomePhabricator

Allow elasticsearch boosts to be set via url for mediasearch
Closed, ResolvedPublic

Description

In order to be able to tell which elasticsearch fields are giving us a good signal, we want to be able to test the results from them separately. Allowing the boosts for the various fields to be set via the url will make this possible

If any of the following fields are set to a value > 0 in the url, then the boost for that field will be set to the value, and the boost for all other fields will be set to zero (and the statement/fulltext normalization will be turned off)

  • boost.statement
  • boost.caption
  • boost.title
  • boost.category
  • boost.heading
  • boost.auxiliary_text
  • boost.file_text
  • boost.redirect.title
  • boost.suggest
  • boost.text
  • boost.non-file_namespace_boost

Event Timeline

Cparle renamed this task from Allow elasticsearch boosts to be set via url to Allow elasticsearch boosts to be set via url for mediasearch.Nov 9 2020, 3:00 PM

Change 640185 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] Allow url params to overwrite elasticsearch boosts

https://gerrit.wikimedia.org/r/640185

Change 640185 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Allow url params to overwrite elasticsearch boosts

https://gerrit.wikimedia.org/r/640185