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

Add test for IndexFormatTooOldException if a commit has a 3.x segment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      We should add a 4.x index (4.x commit) with some 3.x segment(s) to our backwards tests.

      I don't think we throw IndexFormatTooOldException correctly in this case. I think instead the user will get a confusing SPI error about a missing codec "Lucene3x".

      Attachments

        1. unsupported.4x-with-3x-segments.zip
          10 kB
          Ryan Ernst
        2. LUCENE-6213.patch
          2 kB
          Ryan Ernst
        3. LUCENE-6213.patch
          4 kB
          Ryan Ernst
        4. LUCENE-6213.patch
          4 kB
          Ryan Ernst

        Activity

          People

            rjernst Ryan Ernst
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: