In case it helps, here's what I have currently, but I've been messing with 
different options:

<filter class="solr.WordDelimiterFilterFactory" 
                                        generateWordParts="0"
                                        generateNumberParts="0" 
                                        catenateWords="1" 
                                        catenateNumbers="1" 
                                        catenateAll="1" 
                                        splitOnNumerics="0"  
                                        preserveOriginal="1"/>
 

-----Original Message-----
From: Carr, Adrian [mailto:adrian.c...@jtv.com] 
Sent: Friday, September 25, 2009 9:28 AM
To: solr-user@lucene.apache.org
Subject: RE: Alphanumeric Wild Card Search Question

Hi Ken,
I am using the WordDelimiterFilterFactory. I thought I needed it because I 
thought that's what gave me the control over the options of how the words are 
split and indexed? I did try taking it out completely, but that didn't seem to 
help.

I'll try the analysis tool today. There has got to be a simple solution for 
this, but it is sure eluding me.
Thanks,
Adrian

-----Original Message-----
From: Ensdorf Ken [mailto:ensd...@zoominfo.com]
Sent: Thursday, September 24, 2009 5:03 PM
To: solr-user@lucene.apache.org
Subject: RE: Alphanumeric Wild Card Search Question

> Here's my question:
> I have some products that I want to allow people to search for with 
> wild cards. For example, if my product is YBM354, I'd like for users 
> to be able to search on "YBM*", "YBM3*", "YBM35*" and for any of these 
> searches to return that product. I've found that I can search for 
> "YBM*" and get the product, just not the other combinations.

Are you using WordDelimiterFilterFactory?  That would explain this behavior.

If so, do you need it - for the queries you describe you don't need that kind 
of tokenization.

Also, have you played with the analysis tool on the admin page, it is a great 
help in debugging things like this.

-Ken

Reply via email to