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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. LUCENE-6213.patch
          4 kB
          Ryan Ernst
        2. LUCENE-6213.patch
          4 kB
          Ryan Ernst
        3. unsupported.4x-with-3x-segments.zip
          10 kB
          Ryan Ernst
        4. LUCENE-6213.patch
          2 kB
          Ryan Ernst

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rjernst Ryan Ernst
            rcmuir Robert Muir

            Dates

              Created:
              Updated:

              Slack

                Issue deployment