[
https://issues.apache.org/jira/browse/LUCENE-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932247#action_12932247
]
Robert Muir commented on LUCENE-2765:
-------------------------------------
Also, another idea like LUCENE-2761 is to specialize the omitTF case here...
> Optimize scanning in DocsEnum
> -----------------------------
>
> Key: LUCENE-2765
> URL: https://issues.apache.org/jira/browse/LUCENE-2765
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Robert Muir
> Fix For: 4.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]