1. For back-compatibility, the version number should be written at the end of the "segments" file, not at its start. This may make things a big slower, but we should not incompatibly change the file format: existing indexes should still open correctly.
2. There should be public IndexReader.getVersion methods, correspodning to the existing IndexReader.getLastModified methods. The lastModified methods should be deprecated, with a comment indicating that the getVersion methods should be used instead.
Doug
Christoph Goller wrote:
I refurbished my timestamp patch a little bit in order to eliminate unnecessary
changes e.g. in test code. The attached patch has to be applied to
/src/java/org/apache/lucene/index
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]