lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Janssen <>
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.


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

View raw message