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

Michael McCandless commented on LUCENE-1960:
--------------------------------------------

bq. I do not know if this is a bug in 2.9.0, but it seems that segments with 
all documents deleted are not automatically removed

Lucene doesn't actually short-circuit this case, ie, if every single doc in a 
given segment has been deleted, it will still merge it [away] like normal, 
rather than simply dropping it immediately from the index, which I agree would 
be a simple optimization.  Can you open a new issue?  I would think IW can drop 
such a segment immediately (ie not wait for a merge or optimize) on flushing 
new deletes.

> Remove deprecated Field.Store.COMPRESS
> --------------------------------------
>
>                 Key: LUCENE-1960
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1960
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Michael Busch
>            Assignee: Michael Busch
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: lucene-1960-1.patch, lucene-1960-1.patch, 
> lucene-1960.patch, optimize-time.txt
>
>
> Also remove FieldForMerge and related code.

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to