lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3138) IW.addIndexes should fail fast if an index is too old/new
Date Tue, 24 May 2011 14:25:47 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message