That did it, thanks!

I thought that was how it should work, but I guess somehow I got out of sync or 
something at one point which led me to dive deeper into it than I needed to.

-----Original Message-----
From: AHMET ARSLAN [mailto:iori...@yahoo.com] 
Sent: Wednesday, July 29, 2009 12:52 PM
To: solr-user@lucene.apache.org
Subject: RE: query and analyzers


In order to match (query) XYZ1* to (document) XYZ123 you do not need 
WordDelimiterFilterFactory. You need an tokenizer that recognizes XYZ123 as one 
token. And WhitespaceTokenizer is one of them.

As I see from the fieldType named text_ws, you want to use 
WhitespaceTokenizerFactory
and there is no LowercaseFilter in it. So there is no problem.
Just remove the WordDelimiterFilterFactory (both query and index) and it should 
work.
 
Ahmet


      

Reply via email to