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

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

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              rjernst Ryan Ernst
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: