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

There is a problem with the description of "invalid deletion count" exception.

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 9.0, 8.7, 8.6.3
    • core/index
    • None
    • New

    Description

      class: org.apache.lucene.index.SegmentInfos#376

      throw new CorruptIndexException("invalid deletion count: " + softDelCount + delCount + " vs maxDoc=" + info.maxDoc(), input);

      It needs to be changed to:

      throw new CorruptIndexException("invalid deletion count: " + (softDelCount + delCount) + " vs maxDoc=" + info.maxDoc(), input); // todo softDelCount + delCount should merge

      Attachments

        Activity

          People

            Unassigned Unassigned
            wenyao wenyao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m