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

Robert Muir commented on LUCENE-5116:
-------------------------------------

+1

I created it as a "bug" because its the only way with lucene you can get a 0 
document segment... but you could say its not really a bug just an 
inconsistency...
                
> IW.addIndexes doesn't prune all deleted segments
> ------------------------------------------------
>
>                 Key: LUCENE-5116
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5116
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Shai Erera
>             Fix For: 5.0, 4.5
>
>         Attachments: LUCENE-5116.patch, LUCENE-5116_test.patch
>
>
> at the least, this can easily create segments with maxDoc == 0.
> It seems buggy: elsewhere we prune these segments out, so its expected to 
> have a commit point with no segments rather than a segment with 0 documents...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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