[ 
https://issues.apache.org/jira/browse/LUCENE-5232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773508#comment-13773508
 ] 

Robert Muir commented on LUCENE-5232:
-------------------------------------

You know, if we really want to have this crazy specialization, why not move it 
out to a contrib module, and just have a HuperDuperTopFieldCollector.create() 
method that generates bytecode for the exact number of sort fields, and a 
million boolean parameters passed in?

I just dont think it needs to be in IndexSearcher/core lucene.
                
> 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]

Reply via email to