You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/01/31 00:24:35 UTC

[jira] [Commented] (LUCENE-6213) Add test for IndexFormatTooOldException if a commit has a 3.x segment

    [ https://issues.apache.org/jira/browse/LUCENE-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299365#comment-14299365 ] 

Robert Muir commented on LUCENE-6213:
-------------------------------------

I dont want to cause delays for 5.0, but this might be one to fix as it will confuse users. First we need the test to know if its really a bug, but I think it is.

> 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
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org