lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4366) Small speedups for BooleanScorer
Date Sat, 08 Sep 2012 03:11:07 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message