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

IW.addIndexes(Dir[]) causes silent index corruption

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.6.1, 4.7, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Environment:

      windows/linux

    • Lucene Fields:
      New

      Description

      my old facet index create by Lucene version=4.2
      use indexChecker ok.

      now I upgrade to Lucene 4.6 and put some new records to index.
      then reopen index, some files in indexdir missing....
      no .si files.

      I debug into it, new version format of segments.gen(segments_N) record bad segments info.

        Attachments

        1. LUCENE-5377.patch
          23 kB
          Robert Muir
        2. LUCENE-5377.patch
          14 kB
          Robert Muir
        3. TestCore_45.java
          2 kB
          Littlestar
        4. TestCore_46.java
          2 kB
          Littlestar

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                cnstar9988 Littlestar
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: