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

Index too old/new is not a corruption

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0
    • None
    • None
    • New

    Description

      IndexFormatTooOldException and IndexFormatTooNewException both extend from CorruptIndexException. But this is not a corruption, it is simply an unsupported version of an index. They should just extend IOException.

      Attachments

        1. LUCENE-5972.patch
          5 kB
          Ryan Ernst
        2. LUCENE-5972.patch
          5 kB
          Ryan Ernst
        3. LUCENE-5972.patch
          7 kB
          Ryan Ernst

        Activity

          People

            rjernst Ryan Ernst
            rjernst Ryan Ernst
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: