lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Unable to search with the number contains in Product Part number and the string sontains the name of the product
Date Tue, 26 Jun 2012 14:04:43 GMT
You need to spend quite a bit of time on the admin/analysis page, examining
what different analysis chains do. This is one of the tricky parts of
understanding Solr.

Jack already mentioned n-grams, that's a good place to start.

If your part numbers are always at the beginning, you can just
use wildcards.

I don't think the example schema has the exact definition that you need,
so you might find more help here:

although it appears to be down for a while. Heed the warning at the top,
this isn't all the components you can use for an analysis chain.

Hope this helps

On Tue, Jun 26, 2012 at 5:49 AM, prasenjit <> wrote:
> Hi, thank for the suggestion.But my requirement is to search with Partnumber
> say 'ALT1' instead of whole 'ALT15SBW'.If I do so the search result is
> empty. I have changed the schema.xml file for fieldtype
> "wc_txt","solr.TextField" with passing
> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="0"
> generateNumberParts="0" catenateWords="1" catenateNumbers="1"
> catenateAll="0"/>
> Still the search result empty for the above condition.
> Can you please suggest me what changes I need to do?
> Thanks Prasenjit
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message