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

Robert Muir commented on LUCENE-4366:
-------------------------------------

I only barely glanced at the patch: can you explain whats going on with the 
prohibited scorers?

I'm not sure this is worth complicating booleanscorer over, i think these are 
somewhat rare.

if the goal is to prevent calling score() on prohibited scorers, i think we 
should just wrap them in ConstantScorer or something:
BS2 also calls score() on prohibited scorers and it would fix this for both at 
the Weight level without code specialization.
                
> Small speedups for BooleanScorer
> --------------------------------
>
>                 Key: LUCENE-4366
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4366
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-4366.patch, LUCENE-4366.patch
>
>


--
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