lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Vasilev <>
Subject detect Lucene version
Date Fri, 08 Oct 2010 12:34:35 GMT
  Hi Guys,

Is there way to detect org.apache.lucene.util.Version of an index having 
IndexReader or just FSDirectory?
I know I can open segments file and read the proper bytes according to 
rules of creating it but is there more smart way to do this without 
using RandomAccessFile or something like this.
Actually I need just to know if index is pre Lucene 3_0 or 3_0 (or later).


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

View raw message