lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Janssen <jans...@parc.com>
Subject recommended way to identify a version to pass to StandardAnalyzer constructor?
Date Thu, 16 Sep 2010 14:39:16 GMT
So, in version 3, I have to pass a version parameter to the constructor
for StandardAnalyzer.  Since Version.LUCENE_CURRENT is deprecated, I'd
like this to be the same as the version of the index I'm using.  Is
there a way of getting a value of Version for an index?  I don't see
obvious methods on IndexReader and IndexWriter.

Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message