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 2010/10/16 11:47:22 UTC

[jira] Updated: (LUCENE-2711) BooleanScorer.nextDoc should also delegate to sub-scorer's bulk scoring method

     [ https://issues.apache.org/jira/browse/LUCENE-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-2711:
---------------------------------------

    Attachment: LUCENE-2711.patch

> 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
>
>         Attachments: LUCENE-2711.patch
>
>
> 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