As of 2.9, org.apache.lucene.util.Constants.LUCENE_VERSION is a good way to get this.
That constant is set by first looking at the implementation version, and then making sure the version Lucene thinks it is (2.9 on trunk now) is contained in the resulting string. It also takes care of a null implementation version (returning 2.9). Mike On Tue, Jun 16, 2009 at 6:36 PM, Scott Smith<ssm...@mainstreamdata.com> wrote: > Is there any way to programmatically determine the version of lucene > being loaded? > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org