java-user@lucene.apache.org
[Top] [All Lists]

WhitespaceAnalyzer and version

Subject: WhitespaceAnalyzer and version
From: Siraj Haider
Date: Mon, 12 Apr 2010 17:13:39 -0400
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@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>