You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/10/20 19:17:27 UTC

[jira] [Created] (LUCENE-6850) BooleanWeight should not use BS1 when there is a single non-null clause

Adrien Grand created LUCENE-6850:
------------------------------------

             Summary: BooleanWeight should not use BS1 when there is a single non-null clause
                 Key: LUCENE-6850
                 URL: https://issues.apache.org/jira/browse/LUCENE-6850
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor


When a disjunction has a single non-null scorer, we still use BS1 for bulk-scoring, which first collects matches into a bit set and then calls the collector. This is inefficient: we should just call the inner bulk scorer directly and wrap the scorer to apply the coord factor (like BooleanTopLevelScorers.BoostedScorer does).



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