You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/01/08 16:52:39 UTC
[jira] [Commented] (LUCENE-6944) BooleanWeight.bulkScorer should
not build any sub bulk scorer if there are required/prohibited clauses
[ https://issues.apache.org/jira/browse/LUCENE-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089387#comment-15089387 ]
Michael McCandless commented on LUCENE-6944:
--------------------------------------------
[~jpountz] can this be resolved now?
> BooleanWeight.bulkScorer should not build any sub bulk scorer if there are required/prohibited clauses
> ------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-6944
> URL: https://issues.apache.org/jira/browse/LUCENE-6944
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 5.5, Trunk
>
> Attachments: LUCENE-6944.patch
>
>
> BooleanWeight.bulkScorer creates a sub bulk scorer for all clauses until it meets a clause that is not optional (the only kind of clause it can deal with). However the Weight.bulkScorer method is sometimes costly, so BooleanWeight.bulkScorer should first inspect all clauses to see if any of them is not optional to avoid creating costly bulk scorers to only trash them later.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org