The autocomplete profiles generated in T213105 will be per-language. We currently have the ability to AB test per-language settings, but have no method to deploy them. Adjust the profile handling in wikidata entity completion search to allow setting based on primary language being searched to match.
Description
Details
Related Objects
Event Timeline
In addition to changing to allow per-language, it might be nice to rethink how the profiles are presented as well. To run the english AB test we created 3 new profiles for 3 separate things: https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/475817/2/wmf-config/WikibaseSearchSettings.php
Those profiles were:
location | name | reason |
prefixSearchProfiles | wikibase_config_prefix_query_20181126 | contains configuration for the per-label field weights and tie-breaker |
rescoreProfiles | wikibase_config_entity_weight_20181126 | Set query/rescore weight. Choose rescore chain |
rescoreFunctionChains | wikibase_config_entity_weight_20181126 | weight and satu parameters for rescore |
The actual AB test then had to send two profile parameters to select the appropriate prefix and rescore profiles.
The first thing i want to try to do here is to parameterize the rescoreFunctionChains. This should allow us to configure the function chain from the rescore profile, instead of defining a new function chain that's almost the same.
Change 484307 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[mediawiki/extensions/CirrusSearch@master] Vary search profiles on runtime parameters
Change 484316 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[mediawiki/extensions/Wikibase@master] Add per-language wbsearchentities profiles
Change 483875 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[mediawiki/extensions/CirrusSearch@master] Override function score chain from rescore profile
Change 484334 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[operations/mediawiki-config@master] Add wbsearchentities profiles for de, fr, es
Change 483875 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Override function score chain from rescore profile
Change 484307 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Vary search profiles on runtime parameters
Change 484316 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add per-language wbsearchentities profiles
Change 484334 merged by jenkins-bot:
[operations/mediawiki-config@master] Add wbsearchentities profiles for de, fr, es