lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siraj Haider <si...@jobdiva.com>
Subject WhitespaceAnalyzer and version
Date Mon, 12 Apr 2010 21:13:39 GMT
We are in the process of removing the deprecated api from our code to 
move to version.  One of the deprecation is, the queryparser now expects 
a version parameter in the constructor.  I also have read somewhere that 
we should pass the same version to analyzer when indexing as wel as when 
searching.  We use WhitespaceAnalyzer and I am unable to find a 
constructor with a version in it.

Another thing is, do we need to re-index if we want to supply 
Version.LUCENE_CURRENT as the version? what are other implications?

thanks
-siraj

---------------------------------------------------------------------
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