lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Janssen <>
Subject Re: recommended way to identify a version to pass to StandardAnalyzer constructor?
Date Fri, 17 Sep 2010 14:58:33 GMT
Bill Janssen <> wrote:

> there any attribute or static
> method somewhere in Lucene which will return a value of
> org.apache.lucene.util.Version that corresponds to the version of the
> code?  That's what I'm looking for.  Version.LUCENE_CURRENT looks good,
> but it's deprecated.

And, given that the sole purpose of this Version frob is to support the
use of indices that were created with a different version of Lucene, it
would be a very good thing to have methods on IndexSearcher,
IndexReader, and IndexWriter (or perhaps simply on Directory?) which
would allow a program to figure out what Version is appropriate for that


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

View raw message