Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5116

IW.addIndexes doesn't prune all deleted segments

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5, 6.0
    • None
    • None
    • New, Patch Available

    Description

      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...

      Attachments

        1. LUCENE-5116_test.patch
          0.8 kB
          Robert Muir
        2. LUCENE-5116.patch
          4 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: