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<[email protected]> wrote:
> Is there any way to programmatically determine the version of lucene
> being loaded?
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to