Tomas Eduardo Fernandez Lobbe created LUCENE-9393:
-----------------------------------------------------
Summary: FunctionScoreQuery shouldn’t use TOP_DOCS for creating
inner weight
Key: LUCENE-9393
URL: https://issues.apache.org/jira/browse/LUCENE-9393
Project: Lucene - Core
Issue Type: Improvement
Reporter: Tomas Eduardo Fernandez Lobbe
{{FunctionScoreQuery.createWeight}} creates the weight of the inner query using
the {{scoreMode}} from it’s input parameter, however, FunctionScoreQuery can’t
really use WAND algorithm, and the Scorer used will ignore calls to set
competitive scores. FunctionScoreQuery should just turn {{TOP_DOCS}} to
{{COMPLETE}} before creating the inner query's weight.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]