Closed Bug 767573 Opened 12 years ago Closed 12 years ago

expose 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)

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 is three fold:

1. fix elasticutils to allow us to specify we want the explanation and then handle it accordingly

2. fix the search view code to show scores and explanations if a magic querystring is specified

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


This is sort of important going forward since it's the rosetta stone to fixing search rankings. I'm going to make it a P1 for 2012.13. I think items 1 and 2 are easy and will take about a day total. Item 3 seems much harder.
Summary: expose explain data → expose explain data for elasticsearch scores
I spun off item 3 into bug #770179.

This bug only covers items 1 and 2. That should be a 1 pt bug or thereabouts.
Whiteboard: u=sumo-team c=search p=2
Grabbing this one.
Assignee: nobody → willkg
Pushed to master just now.
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.