Lucene - Core
  1. Lucene - Core
  2. LUCENE-1647

IndexReader.undeleteAll can mess up the deletion count stored in the segments file

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Spinoff from LUCENE-1474. I'll attach a test case showing the issue.

      1. LUCENE-1647.patch
        5 kB
        Michael McCandless
      2. LUCENE-1647.patch
        1 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Test case showing the issue.

        Show
        Michael McCandless added a comment - Test case showing the issue.
        Hide
        Michael McCandless added a comment -

        Attached patch w/ test showing the issue, and fix that fixes the test.

        I plan to commit in a day or two.

        Show
        Michael McCandless added a comment - Attached patch w/ test showing the issue, and fix that fixes the test. I plan to commit in a day or two.

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development