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 negated.
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.
Doug --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]