Adrien Grand created LUCENE-6219:
------------------------------------
Summary: Remove ScoringNoMaxScoreCollector
Key: LUCENE-6219
URL: https://issues.apache.org/jira/browse/LUCENE-6219
Project: Lucene - Core
Issue Type: Improvement
Reporter: Adrien Grand
Assignee: Adrien Grand
Priority: Minor
Fix For: Trunk, 5.1
ScoringNoMaxScoreCollector does like NonScoringCollector except that it
computes the score for all competitive hits in order to have the score set on
the final top hits.
This is inefficient since there are potentially many more competitive documents
than the requested number of hits, especially if the index order is not random.
We could instead compute the top hits with NonScoringCollector and then compute
scores on these top hits only. Another nice side-effect is that it would help
get rid of a TopFieldCollector specialization.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]