On Tue, Aug 13, 2013 at 11:39 AM, Shalin Shekhar Mangar <shalinman...@gmail.com> wrote: > The splitting code calls commit before it starts the splitting. It creates > a LiveDocsReader using a bitset created by the split. This reader is merged > to an index using addIndexes. > > Shouldn't the addIndexes code then ignore all such 0-document segments? > >
Not in 4.4: https://issues.apache.org/jira/browse/LUCENE-5116