[
https://issues.apache.org/jira/browse/LUCENE-5972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Ernst updated LUCENE-5972:
-------------------------------
Attachment: LUCENE-5972.patch
Good ideas. This patch adds removing the asserts, and Objects.toString called
on message in CorruptIndexException.
> Index too old/new is not a corruption
> -------------------------------------
>
> Key: LUCENE-5972
> URL: https://issues.apache.org/jira/browse/LUCENE-5972
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Ryan Ernst
> Attachments: LUCENE-5972.patch, LUCENE-5972.patch, LUCENE-5972.patch
>
>
> {{IndexFormatTooOldException}} and {{IndexFormatTooNewException}} both extend
> from {{CorruptIndexException}}. But this is not a corruption, it is simply
> an unsupported version of an index. They should just extend {{IOException}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]