lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Hill <solr-l...@worldware.com>
Subject Re: Case Insensitive search not working
Date Tue, 08 Dec 2009 20:24:12 GMT
Did you rebuild the index? Changing the analyzer for the index doesn't
affect already indexed documents.

Tom


On Tue, Dec 8, 2009 at 11:57 AM, insaneyogi3008 <insaneyogi@gmail.com>wrote:

>
> Hello,
>
> I tried to force case insensitive search by having the following setting in
> my schema.xml file which I guess is standard for Case sensitive searches :
>
> <fieldType name="text_ws" class="solr.TextField"
> positionIncrementGap="100">
>         <analyzer type = "index">
>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>        <filter class = "solr.LowerCaseFilterFactory"/>
>      </analyzer>
>
>    <analyzer type="query">
>        <tokenizer class = "solr.WhitespaceTokenizerFactory"/>
>        <filter class="solr.LowerCaseFilterFactory"/>
>
>    </analyzer>
>    </fieldType>
>
>
> However when I perform searches on "San Jose" & "san jose" , I get 16 & 0
> responses back respectively is there anything else I missing here ?
>
>
> --
> View this message in context:
> http://old.nabble.com/Case-Insensitive-search-not-working-tp26699734p26699734.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message