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]

Reply via email to