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 2011/06/27 18:01:48 UTC

[jira] [Updated] (LUCENE-3246) Invert IR.getDelDocs -> IR.getLiveDocs

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

Michael McCandless updated LUCENE-3246:
---------------------------------------

    Attachment: LUCENE-3246.patch

Initial patch, pulled out of LUCENE-1536, plus 1) renamed IR.getNotDeletedDocs to IR.getLiveDocs, and 2) fixed IR to force subclasses to override this (removing getDeletedDocs).

I think this is close, but the one thing remaining is to fix the IR impls to "properly" invert their del docs (now they create a NotDocs wrapper around their current bitsets).

> Invert IR.getDelDocs -> IR.getLiveDocs
> --------------------------------------
>
>                 Key: LUCENE-3246
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3246
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3246.patch
>
>
> Spinoff from LUCENE-1536, where we need to fix the low level filtering
> we do for deleted docs to "match" Filters (ie, a set bit means the doc
> is accepted) so that filters can be pushed all the way down to the
> enums when possible/appropriate.
> This change also inverts the meaning first arg to
> TermsEnum.docs/AndPositions (renames from skipDocs to liveDocs).

--
This message is automatically generated by JIRA.
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