[tracker] elastic search unified search results



5 years ago
5 years ago


(Reporter: willkg, Unassigned)


Firefox Tracking Flags

(Not tracked)


This tracker covers all the changes that need to happen to get us from the bucketed-search-results place we're at now to the glorious unified search results future.

What does "bucketed search results" mean?

Right now we show search results from the kb, the support forums, and then the contributor forums. It's "bucketed" in the sense that we show all the kb results first, then all the support forum results and then all the contributor forum results.

What does our glorious "unified search results" future look like?

Our glorious future has search results where the "document types" (e.g. kb, support forum question, contributor forum question) are intertwingled. We do one ES query and get back a bunch of results regardless of what "type" they are and show them in order of score rather than (type, score) like we do now.
I think this should get broken down into a series of bugs:

1. Rewrite the indexing to use one doctype and rewrite the elasticsearch search view to simulate the search bucket results with the new index structure. I don't think we can break this down into smaller chunks. I'm pretty sure it'll unearth some problems that will need to get figured out. I'm guessing this will take > 2 weeks.

2. Write a new ES unified search view with a waffle flag that lets us waffle between the ES unified search view and the ES bucketed search view. Both the ES unified search view and the ES bucketed search view will be using the same index. I'm guessing this will take > 1 week.

3. Analyze the search results for the new ES unified search view, figure out what changes are necessary to make them decent, create bugs for those changes, and implement the changes.

If that sounds ok, I'll create bugs for 1 and 2. We can figure out 3 when we get there.
Expanding on item 3, we can determine whether the search results for the ES unified search view are "decent" by doing the analysis James did for when we were switching from Sphinx to ES as well as by analyzing the CTR after switching the waffle flag to 50%. If there are other things we want to do, those can go in the bugs created to address item 3.
Depends on: 746609
Also expanding on item 3, this is the wiki page on what the sumodev team is thinking and what they'll need and all that:

Depends on: 752513
I'm going to say this was an implementation bug. We have another bug covering analysis of the search results and fixing issues which will eventually make this live.

I'm going to mark this as FIXED.
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.