[ https://issues.apache.org/jira/browse/LUCENE-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518752#comment-14518752 ]
Ryan Ernst edited comment on LUCENE-6213 at 4/29/15 5:18 AM: ------------------------------------------------------------- bq. i think that even if there is no official "M" release, the smoketester for "M+1" should fail if a test for "(M)x-with-(M-1)x-segments can not be found. I disagree. We shouldn't fail when there is nothing we can do. The backcompat indexes are created with official releases, so we should not fail until there is an official release with which to build the backcompat index (whether that be a pure index or mixed). was (Author: rjernst): > i think that even if there is no official "M" release, the smoketester for > "M+1" should fail if a test for "(M)x-with-(M-1)x-segments can not be found. I disagree. We shouldn't fail when there is nothing we can do. The backcompat indexes are created with official releases, so we should not fail until there is an official release with which to build the backcompat index (whether that be a pure index or mixed). > 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 > Assignee: Ryan Ernst > Attachments: LUCENE-6213.patch, LUCENE-6213.patch, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org