[
https://issues.apache.org/jira/browse/LUCENE-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299877#comment-14299877
]
Robert Muir commented on LUCENE-6213:
-------------------------------------
Thanks Ryan, i thought of another related issue: the backwards-codecs.jar is
new in 5.0, so i imagine its common someone will try to open a 4.x index with
just a lucene core JAR and get a similar SPI error Maybe we dont need anything
there, but we can think about the error message.
> Add test for IndexFormatTooOldException if a commit has a 3.x segment
> ---------------------------------------------------------------------
>
> Key: LUCENE-6213
> URL: https://issues.apache.org/jira/browse/LUCENE-6213
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-6213.patch, unsupported.4x-with-3x-segments.zip
>
>
> 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".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]