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:

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters/

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
Erick

On Tue, Jun 26, 2012 at 5:49 AM, prasenjit <prasenjit...@gmail.com> 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: 
> http://lucene.472066.n3.nabble.com/Unable-to-search-with-the-number-contains-in-Product-Part-number-and-the-string-sontains-the-name-oft-tp3990959p3991314.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to