You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2013/02/21 16:22:12 UTC

[jira] [Updated] (LUCENE-4791) ConjunctionTermScorer scans instead of skips on first scorer

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

Yonik Seeley updated LUCENE-4791:
---------------------------------

    Attachment: LUCENE-4791.patch

I rewrote the doNext() method, always using advance, and removing some other unnecessary checks (like NO_MORE_DOCS) that should slightly speed things up.

All tests pass.
                
> ConjunctionTermScorer scans instead of skips on first scorer
> ------------------------------------------------------------
>
>                 Key: LUCENE-4791
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4791
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>         Attachments: LUCENE-4791.patch
>
>
> As discovered by John Wang, it looks like a bug was introduced when ConjunctionTermScorer was first introduced in 7/2011 that causes scanning instead of skipping on the lowest frequency term. 
> http://markmail.org/message/wuukqzbhe7zgkfmf

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