lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2655) Get deletes working in the realtime branch
Date Wed, 20 Oct 2010 21:54:22 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923189#action_12923189
] 

Michael McCandless commented on LUCENE-2655:
--------------------------------------------

bq. Can you explain what you mean by "per-segment pools" compared with the flushed deletes
data structure in there today, ie, why are they pools?

Sorry, by pool I mean what we have today.  Ie a map from del term/query -> global docid-upto.

Except, with this change it will be per-segment, only for those segments flushed since IW
was opened or since last commit.

bq. I can start on the simplified version of this for the non-DWPT use case, eg, LUCENE-2680.

Yes, please!

This approach works fine for the single-DWPT case (ie what we now have).  It'll be good to
get it first working on this simpler case, then port to the RT branch to get it working for
multiple DWPTs.

bq. That version'll implement the delete pool per segment only for those segments created
after the last flush/commit?

Created after IW was opened or after last commit, yes.

I think we'll need an applyAllDeletes (called by commit) vs an applyDeletesToSegment (called
by merge).

> Get deletes working in the realtime branch
> ------------------------------------------
>
>                 Key: LUCENE-2655
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2655
>             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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message