parse explain data for elasticsearch scores

RESOLVED FIXED in 2012.13

Status

support.mozilla.org
Search
P1
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: willkg, Assigned: willkg)

Tracking

unspecified
2012.13

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: u=sumo-team c=search p=2)

+++ This bug was initially created as a clone of Bug #767573 +++

ElasticSearch allows you to pass an "explain" flag which indicates you want an explanation of how the score was calculated. That information comes back in the hit in _explanation.


This bug covers item 3 from bug #767573:

3. write some code to transform the monstrosity that is the explanation into something that's human readable and easier to compare with other explanations


Probably want to do this incrementally. Spend 1 pt or 2 pts making it better, then push that to production, mark this fixed and iterate on changes in separate bugs.
Summary: expose explain data for elasticsearch scores → parse explain data for elasticsearch scores

Updated

6 years ago
Target Milestone: --- → 2012.13

Updated

6 years ago
Whiteboard: u=sumo-team c=search p=2
Grabbing this one.
Assignee: nobody → willkg
I talked to Matt about what I came up with. It's not perfect, but it's easier to parse than the original form. We can continue to hone it going forward.

In a pull request: https://github.com/mozilla/kitsune/pull/697
Pushed to master just now.

We can iterate over the parsed form in future bugs.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.