I was asked a question "why does the explain report boost as queryNorm
in 5x?" by a sharp-eyed person who traced it back to the
FunctionQuery.explain method.

So I looked into the code and LUCENE-6590/LUCENE-6783 changed
FunctionQuery.explain(int doc) to
FunctionQueyr.explain(int doc, float queryNorm).

So far, so good. But within that function

Explanation.match(getBoost(), "boost"), changed to:
Explanation.match(queryNorm, "boost"),

which is puzzling. Should I raise a JIRA?

Erick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to