Page MenuHomePhabricator

Create gadget that enables the use of the elastic search backend for the entity selector
Closed, DeclinedPublic

Description

Use of the Cirrus/Elastic search backend can be enabled on a per-request basis using the useCirrus request parameter. To allow users to test the new search behavior, we want a Gadget that adds this flag to the requests the entity selector widget sends to the wbsearchentities API module.

This can be implemented independently of T162292, but the cirrus based search will not find anything until the Elastic index is rebuild.

Baseline: the gadget allows users to opt in. If they do, they use the cirrus based entity search. This is not visible in the UI.

Opt-in Version: the gadget is always on, but initially only triggers a notification when the search box is focus. The notification gives the user two options: enable cirrus based search, or decline and ignore/hide the notification. The decision is stored in a cookie (this could be changed to user preferences for logged in users).

See also T170549: Provide A/B test for item suggestor for an alternative approach.

Event Timeline

daniel created this task.Jul 12 2017, 10:50 AM
Restricted Application added projects: Discovery, Discovery-Search. · View Herald TranscriptJul 12 2017, 10:50 AM
daniel updated the task description. (Show Details)Jul 12 2017, 11:07 AM
daniel added a subscriber: Jan_Dittrich.
debt added a subscriber: debt.

We'll keep this on the Discovery board, but not the search board. Let us know if there is anything we can do.

daniel updated the task description. (Show Details)Jul 17 2017, 10:35 AM
daniel updated the task description. (Show Details)
Restricted Application added a subscriber: PokestarFan. · View Herald TranscriptJul 25 2017, 5:11 PM

Is this still needed? I think most tests were handled pretty okay with http://elastic-wikidata.wmflabs.org/wb.html.

Lydia_Pintscher closed this task as Declined.Sep 13 2017, 6:58 AM

No. Good point. We'll not go the gadget route.