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

Michael McCandless commented on LUCENE-5954:
--------------------------------------------

This could also be used to throw {{IndexFormatTooNewException}} immediately on 
trying to open an index, whenever the version we see is > Version.LATEST.  
[~thetaphi] raised this on LUCENE-5952 but I didn't want to make that change 
there...

> Store lucene version in segment_N
> ---------------------------------
>
>                 Key: LUCENE-5954
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5954
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>
> It would be nice to have the version of lucene that wrote segments_N, so that 
> we can use this to determine which major version an index was written with 
> (for upgrading across major versions).  I think this could be squeezed in 
> just after the segments_N header.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to