lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2711) BooleanScorer.nextDoc should also delegate to sub-scorer's bulk scoring method
Date Sat, 16 Oct 2010 09:45:22 GMT
BooleanScorer.nextDoc should also delegate to sub-scorer's bulk scoring method
------------------------------------------------------------------------------

                 Key: LUCENE-2711
                 URL: https://issues.apache.org/jira/browse/LUCENE-2711
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Search
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 3.1, 4.0


BooleanScorer uses the bulk score methods of its sub scorers, asking them to score each chunk
of 2048 docs.

However, its .nextDoc fails to do this, instead manually walking through the sub's docs (calling
.nextDoc()), which is slower (though this'd be tiny in practice).

As far as I can tell it should delegate to the bulk scorer just like it does in its bulk scorer
method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message