lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3246) Invert IR.getDelDocs -> IR.getLiveDocs
Date Thu, 30 Jun 2011 18:43:28 GMT


Uwe Schindler commented on LUCENE-3246:

Hi Mike,
As we have now both variants to read/write BitVectors, would it be not a good idea to automatically
use the old encoding for liveDocs, if more than 50% of all bits are unset? This would save
disk space if a segments has more deletetions than live docs. Not sure if this can easily
be implemented and is worth the complexity (that we already have because of both versions)?

The patch looks fine!

> Invert IR.getDelDocs -> IR.getLiveDocs
> --------------------------------------
>                 Key: LUCENE-3246
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>         Attachments: LUCENE-3246-IndexSplitters.patch, LUCENE-3246.patch, 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
> (renames from skipDocs to liveDocs).

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message