RE: Which Analyzer to use when searching on Keyword fields

2006-04-05 Thread Satuluri, Venu_Madhav
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

Re: Which Analyzer to use when searching on Keyword fields

2006-04-05 Thread Erik Hatcher
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

Which Analyzer to use when searching on Keyword fields

2006-04-05 Thread Satuluri, Venu_Madhav
Hi, I am using lucene 1.4.3. Some of my fields are indexed as Keywords. I also have subclassed Analyzer inorder to put stemming etc. I am not sure if the input is tokenized when I am searching on keyword fields; I don't want it to be. Do I need to have a special case in the overridden method (Anal