You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/05/10 01:06:00 UTC

[jira] [Updated] (LUCENE-2765) Optimize scanning in DocsEnum

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

Uwe Schindler updated LUCENE-2765:
----------------------------------

    Fix Version/s:     (was: 4.3)
                   4.4
    
> Optimize scanning in DocsEnum
> -----------------------------
>
>                 Key: LUCENE-2765
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2765
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 4.4
>
>         Attachments: LUCENE-2765.patch, LUCENE-2765.patch
>
>
> Similar to LUCENE-2761:
> when we call advance(), after skipping it scans, but this can be optimized better than calling nextDoc() like today
> {noformat}
>       // scan for the rest:
>       do {
>         nextDoc();
>       } while (target > doc);
> {noformat}
> in particular, the freq can be "skipVinted" and the skipDocs (deletedDocs) don't need to be checked during this scanning.

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