You understood me right, Erik. Your solution is working well, thanks.
Venu
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 6:03 PM
To: java-user@lucene.apache.org
Subject: Re: Which Analyzer to use when searching on Keyword fields
Venu
Venu,
I presume you're asking about what Analyzer to use with QueryParser.
QueryParser analyzes all term text, but you can fake it for Keyword
(non-tokenized) fields by using PerFieldAnalyzerWrapper, specifying
the KeywordAnalyzer for the fields you indexed as such.
The KeywordAnalyzer c