lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Taking a step back
Date Thu, 11 May 2006 16:53:26 GMT
Bill Janssen wrote:
> Have you put a field in the file format yet that gives its version?
> Alternatively, is there a way to find out which version of Lucene
> needs to be used with a given index?

The segments file has a format number, as do many other files, but the 
segments file is the only file global to an index with a format number. 
  The segments format number is in the first 32-bits of the file.  If 
non-negative, indicates format zero, otherwise the format number is the 

It should like you'd like something that, given an index, will tell you 
what version of Lucene wrote it.  That would indeed be nice, but does 
not yet exist.  Please contribute a patch if this is very important to 
you, or at least submit a bug report and pray that someone else patches 
it for you.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message