[
https://issues.apache.org/jira/browse/LUCENE-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038606#comment-13038606
]
Michael McCandless commented on LUCENE-3138:
--------------------------------------------
It also applies to 3.x? Ie if you try to add a 4.x index in a 3.x world you
should get too-new-exc?
> IW.addIndexes should fail fast if an index is too old/new
> ---------------------------------------------------------
>
> Key: LUCENE-3138
> URL: https://issues.apache.org/jira/browse/LUCENE-3138
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/index
> Reporter: Shai Erera
> Priority: Minor
> Fix For: 4.0
>
>
> Today IW.addIndexes (both Dir and IR versions) do not check the format of the
> incoming indexes. Therefore it could add a too old/new index and the app will
> discover that only later, maybe during commit() or segment merges. We should
> check that up front and fail fast.
> This issue is relevant only to 4.0 at the moment, which will not support 2.x
> indexes anymore.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]