What is your index analyzer chain? In other words, are you sure the token '1' is actually indexed?
"Marsh1" is, depending on the default operator, probably searching for 'marsh OR 1", and hitting on only "marsh". But that's a guess.... HTH Erick On Mon, Oct 4, 2010 at 10:24 PM, javaxmlsoapdev <vika...@yahoo.com> wrote: > > 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. >