[
https://issues.apache.org/jira/browse/LUCENE-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-6220:
---------------------------------
Attachment: LUCENE-6220.patch
Here is a work-in-progress patch: IndexSearcher currently needs to guess in
advance whether the collector will need scores. I'll have a second look at it
tomorrow to see if I can somehow refactor it so that we always have a collector
ready before creating the weight.
> Move needsScores from Weight.scorer to Query.createWeight
> ---------------------------------------------------------
>
> Key: LUCENE-6220
> URL: https://issues.apache.org/jira/browse/LUCENE-6220
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: Trunk, 5.1
>
> Attachments: LUCENE-6220.patch
>
>
> Whether scores are needed is currently a Scorer-level property while it
> should actually be a Weight thing I think?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]