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

IW.addIndexes doesn't prune all deleted segments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: