Re: detect Lucene version

2010-10-08 Thread Ivan Vasilev
to-level index information (see above). Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Ivan Vasilev [mailto:ivasi...@sirma.bg] Sent: Friday, October 08, 2010 8:35 AM To: LUCENE MAIL LIST Subject: detect

RE: detect Lucene version

2010-10-08 Thread Uwe Schindler
ler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Ivan Vasilev [mailto:ivasi...@sirma.bg] > Sent: Friday, October 08, 2010 8:35 AM > To: LUCENE MAIL LIST > Subject: detect Lucene version > >

detect Lucene version

2010-10-08 Thread Ivan Vasilev
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 lik