Hello,

I have a string "Marsh 1" (no quotes while searching). If I put "Marsh 1" in
the search box with no quotes I get expected results back but when I search
for just "1" (again no quotes) I don't get any results back. I use
WorldDelimiterFactory as follow. Any idea?

<analyzer type="query">
          <tokenizer class="solr.WhitespaceTokenizerFactory"/>
          <filter class="solr.WordDelimiterFilterFactory"
                generateWordParts="1"
                generateNumberParts="1"
                catenateWords="0"
                catenateNumbers="0"
                catenateAll="0"
                preserveOriginal="1"
                />
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Numeric-search-in-text-field-tp1633741p1633741.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to