lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AHMET ARSLAN <iori...@yahoo.com>
Subject Re: query and analyzers
Date Wed, 29 Jul 2009 18:54:33 GMT

> What analyzer, tokenizer, filter factory would I need to
> use to get wildcard matching to match where:
> Value:
> XYZ123
> Query:
> XYZ1*

StandardAnalyzer, WhitespaceAnalyzer.
 
> I have been messing with solr.WordDelimiterFilterFactory
> splitOnNumerics and oreserveOriginal in both the analyzer
> and the query.  I also noticed it is different when I
> use quotes in the query - phrase search. 
> Unfortunately, I'm missing something as I can't get it to
> work.

But i think your problem is not the analyzer. I guess in your analyzer there is lowercase
filter and wildcard queries are not analyzed.
Try querying xyz1* 


      

Mime
View raw message