elasticsearch/elasticsearch — pull request #2090 by nlalevee (2012-07-06 20:20:56+00:00)
Title: Better ExplainableSearchScript interface

ExplainableSearchScript is a life saver to debug native script, but it doesn't display accurately the explanation of the computation. The explanation of the sub query of the custom scorer should be placed in the hierarchy by the custom scorer, since it is the one using it, or not. Hence the suggested patch.