On Tue, Aug 13, 2013 at 9:15 PM, Robert Muir <rcm...@gmail.com> wrote: > 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
Sorry, I didn't notice that. So 4.4 users must call commit/optimize with expungeDeletes="true" until 4.5 is released if they run into this problem. -- Regards, Shalin Shekhar Mangar.