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

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: https://issues.apache.org/jira/browse/LUCENE-3197
>             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: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to