Hi,

Sorry for the typo in the previous mail.  I am searching for dell 
actually. The query is 
http://.../solr/db/select?q=dell&start=0&rows=4&fl=laptop 

I am not applying any analyzer/tokenizer for the fieldType 'string'. I 
also want to share my solrconfig file with you.

   <requestHandler name="/dataimport" 
class="org.apache.solr.handler.dataimport.DataImportHandler">
    <lst name="defaults">
        <str name="config">data-config.xml</str>
    </lst>
  </requestHandler>

Thanks and regards,
Romita Saha




From:   adityab <aditya_ba...@yahoo.com>
To:     solr-user@lucene.apache.org, 
Date:   10/23/2012 12:19 PM
Subject:        Re: searching a database element



Are you applying any analyzer/tokenizer for the fieldType 'string' (i 
guess
no)
your query in the response shows '*dell*' where as you are store data is
'*Dell*'. 

If you wan to search ignoring the case then you might need to use
LowerCaseFilterFactory as analyzer to the field. and then perform the
search. 




--
View this message in context: 
http://lucene.472066.n3.nabble.com/searching-a-database-element-tp4015293p4015298.html

Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to