Analyzing Advise

2005-02-18 Thread Luke Shannon
Hi; I'm having a situation where my synonyms weren't working for a particular field. When I looked at the indexing I noticed it was a Keyword, thus not tokenized. The problem is when I switched that field to Text (now tokenized with my SynonymAnalyzer) a bunch of query queires broke that where

Re: Analyzing Advise

2005-02-18 Thread Steven Rowe
Luke Shannon wrote: But now that I'm looking at the API I'm not sure I can specifiy a different analyzer when creating a field. Is PerFieldAnalyzerWrapper what you're looking for? URL:http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.html Steve

Re: Analyzing Advise

2005-02-18 Thread Luke Shannon
This is exactly what I was looking for. Thanks - Original Message - From: Steven Rowe [EMAIL PROTECTED] To: Lucene Users List lucene-user@jakarta.apache.org Sent: Friday, February 18, 2005 4:41 PM Subject: Re: Analyzing Advise Luke Shannon wrote: But now that I'm looking at the API