[
https://issues.apache.org/jira/browse/LUCENE-5232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773489#comment-13773489
]
Robert Muir commented on LUCENE-5232:
-------------------------------------
Such users can pass their own collector.
Seriously, who is using search(Query query, Filter filter, int n, Sort sort,
boolean doDocScores, boolean doMaxScore), so using a sort, and asking for
scores, but not asking for the maximum score.
This sounds to me like someones very special use case baked into lucene: I
think we should remove it.
> Remove doMaxScore from indexsearcher, collector specializations, etc
> --------------------------------------------------------------------
>
> Key: LUCENE-5232
> URL: https://issues.apache.org/jira/browse/LUCENE-5232
> Project: Lucene - Core
> Issue Type: Sub-task
> Reporter: Robert Muir
> Fix For: 5.0
>
>
> I think we should just compute doMaxScore whenever doDocScores = true.
> This would remove 4 collector specializations and remove a boolean parameter
> from 4 indexsearcher methods.
> We can just do this in 5.0 I think.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]