Re: Searching a untokenized field using SnowballAnalyzer

2006-08-22 Thread Lorenzo Di Gaetano
Try using telling the QueryParser to use a PerFieldAnalyzer with the KeywordAnalyzer configured for the fields you left UN_TOKENIZED and see if that helps. It helps!!! I wrapped (with PerFieldAnalyzerWrapper) KeywordAnalyzer as default analyzer and SnowballAnalyzer only for the field that I

Searching a untokenized field using SnowballAnalyzer

2006-08-21 Thread Lorenzo Di Gaetano
Hi all, I have the following problem. I use SnowballAnalyzer to index Documents containing tokenized and untokenized fields. But when I try to search a document using one of the untokenized fields (usually keywords and unique identifiers) it doesn't find anything... Simple exampe of code: d

Indexing with SnowballAnalyzer and multiple languages in a single index

2006-04-20 Thread Lorenzo Di Gaetano
Hi all, I'm working at the search api of a multi language CMS, and I'm using the latest Lucene release. I'm using the SnowballAnalyzer in order to have stemmers for various languages. I know that I must use the same analyzer for indexing and searching, in order to obtain correct hits, but can