Hi,
I'm using the default text field type that comes with the example.
When searching for simple words as 'HP' or 'TCS' solr is returning
results that contains 'HP1' or 'TCS'
Is there a solution for to avoid this?
Thanks,
Frederico
I think that's because of the internal tokenization that Solr does. If a
document contains HP1, and you're using the default text field type, Solr
would tokenize that to HP and 1, so that document figures in the list of
documents containing HP, and hence that documents appears in the search
Expanding on Siddant's comment, look carefully at
WordDelimiterFilterFactory, as I remember it's in the default
schema definition.
This page helps:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFiltersErick
On Tue, Mar 2, 2010 at