[ 
https://issues.apache.org/jira/browse/LUCENE-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469674#comment-13469674
 ] 

Adrien Grand commented on LUCENE-4399:
--------------------------------------

{noformat}
+        if (indexVersion != version) {
+          throw new CorruptIndexException("mixmatched version files: " + in + 
"=" + version + "," + indexIn + "=" + indexVersion);
+        }
{noformat}

If we force the terms version and the terms index version to be the same, maybe 
we should merge TERMS_INDEX_VERSION_CURRENT and TERMS_VERSION_CURRENT into a 
single constant?
                
> Rename AppendingCodec to Appending40Codec
> -----------------------------------------
>
>                 Key: LUCENE-4399
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4399
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.1
>
>         Attachments: LUCENE-4399.patch, LUCENE-4399.patch, LUCENE-4399.patch
>
>
> In order AppendingCodec to follow Lucene codecs version, I think its name 
> should include a version number (so that, for example, if we get to releave 
> Lucene 4.3 with a new Lucene43Codec, there will also be a new 
> Appending43Codec).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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