Closed Bug 770179 Opened 12 years ago Closed 12 years ago

parse explain data for elasticsearch scores

Categories

(support.mozilla.org :: Search, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2012.13

People

(Reporter: willkg, Assigned: willkg)

References

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
Target Milestone: --- → 2012.13
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
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.