The StandardTokenizer splits on punctuation, so L.I.C. is likely becoming 'l', 'i', 'c', while LIC -> lic. One helpful tool is the Analysis page on the Solr admin: http://localhost:8983/solr/admin/analysis.jsp as it can help you figure out what is going on with analysis on both the query and indexing side.

HTH,
Grant

On Mar 30, 2009, at 7:50 AM, Radha C. wrote:

Hi,

I am having following analyzer set up in schema.xml
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer>
 <tokenizer class="solr.StandardTokenizerFactory"/>
 <filter class="solr.StandardFilterFactory"/>
 <filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
 </fieldType>

I am indexing a database field which contains L.I.C and I am trying to
search the field as follows but getting zero response.
http://localhost:8080/solr/select/?q=LIC
<http://localhost:8080/solr/select/?q=LIC&debugQuery=on> &debugQuery=on and
http://localhost:8080/solr/select/?q=lic
<http://localhost:8080/solr/select/?q=lic&debugQuery=on> &debugQuery=on

But it is giving result for  q=L.I.C

It is not identifying the L.I.C and lic .  what is the wrong here? can
anyone help me ?

Thanks

Reply via email to