Hi all
I am getting incorrect results when i search with numbers only or string
containing numbers.
when such a search is done, all the results in the index is returned,
irrespective of the search key.
For eg, the phone number field is mapped to TextField. it can contains
values like , 653-23345
also search string like john25, searched against name will show all the
results.

my analyser looks like:

<fieldType name="mytype" class="solr.TextField">
        <analyzer type="index">
            <tokenizer class="solr.LowerCaseTokenizerFactory"/>
                        <filter class="solr.WordDelimiterFilterFactory"
                catenateNumbers="1"
                        />      
        </analyzer>
        <analyzer type="query">
            <tokenizer class="solr.LowerCaseTokenizerFactory"/>
                        <filter class="solr.WordDelimiterFilterFactory"
                catenateNumbers="1"
                        />
        </analyzer>
     </fieldType>
         
anything wrong in the analyser? Do i need to use any other filters instead
of catenateAll.

Thanks
C
-- 
View this message in context: 
http://www.nabble.com/Invalid-response-with-search-key-having-numbers-tp25677793p25677793.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to