lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3197) Optimize runs forever if you keep deleting docs at the same time
Date Tue, 14 Jun 2011 16:21:47 GMT


Hoss Man commented on LUCENE-3197:

is the possibility of a never ending optimize in this situation (never ending deletes) really
something we need to "fix" ?

i mean ... isn't this what hte user should expect?  they've asked for a single segment w/o
deletes, and then while we try to give it to them they keep deleting -- how is it bad that
we optimize doesn't stop until it's completely done ?

> Optimize runs forever if you keep deleting docs at the same time
> ----------------------------------------------------------------
>                 Key: LUCENE-3197
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.3, 4.0
> Because we "cascade" merges for an optimize... if you also delete documents while the
merges are running, then the merge policy will see the resulting single segment as still not
optimized (since it has pending deletes) and do a single-segment merge, and will repeat indefinitely
(as long as your app keeps deleting docs).

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