lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2655) Get deletes working in the realtime branch
Date Mon, 11 Oct 2010 10:05:32 GMT


Michael McCandless commented on LUCENE-2655:

With per DWPT deletes, we're maintaining a docidupto/limit per term/query. When the DWPT deletes
are transferred to an IW deletes flushed, there isn't a way to globalize the docupto/limit
value that's been maintained per DWPT. Today we globalize the docidupto/limit value because
we're only flushing one segment at a time.

I think we can still globalize?

The trick is it'd require doing the remapping in the same sync block that appends the new
SegmentInfo into the SegmentInfos, right?  Because it's a that moment that the newly flushed
segment is assigned its position w/ the rest of the segments.  And so, at that moment, it
knows the sum of the maxDoc() of all prior segments, and it can globalize all of the docIDs
mapped to the pending delete Term/Query?

> Get deletes working in the realtime branch
> ------------------------------------------
>                 Key: LUCENE-2655
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: Realtime Branch
>            Reporter: Jason Rutherglen
>             Fix For: Realtime Branch
>         Attachments: LUCENE-2655.patch
> Deletes don't work anymore, a patch here will fix this.

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:
For additional commands, e-mail:

View raw message