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

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.6
    • 4.6.1, 4.7, 6.0
    • core/index
    • None
    • windows/linux

    • 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. TestCore_46.java
          2 kB
          Littlestar
        2. TestCore_45.java
          2 kB
          Littlestar
        3. LUCENE-5377.patch
          14 kB
          Robert Muir
        4. LUCENE-5377.patch
          23 kB
          Robert Muir

        Issue Links

          Activity

            People

              rcmuir Robert Muir
              cnstar9988 Littlestar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: