I considered that, but I'm also having the issue that I can't get an exact 
match as case insensitive either.

-----Original Message-----
From: Rob Casson [mailto:rob.cas...@gmail.com] 
Sent: Wednesday, January 13, 2010 11:26 AM
To: solr-user@lucene.apache.org
Subject: Re: case-insensitive string type

from http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters

    "On wildcard and fuzzy searches, no text analysis is performed on
the search word."

i'd just lowercase the wildcard-ed search term in your client code,
before you send it to solr.

hth,
rob

On Wed, Jan 13, 2010 at 2:18 PM, Harsch, Timothy J. (ARC-TI)[PEROT
SYSTEMS] <timothy.j.har...@nasa.gov> wrote:
> Hi I have a field:
>
> <field name="srcANYSTRStrCI" type="string_ci" indexed="true" stored="true" 
> multiValued="true" />
>
> With type definition:
>                <!-- A Case insensitive version of string type  -->
>                <fieldType name="string_ci" class="solr.StrField"
>                        sortMissingLast="true" omitNorms="true">
>                        <analyzer type="index">
>                                <tokenizer 
> class="solr.KeywordTokenizerFactory"/>
>                                <filter class="solr.LowerCaseFilterFactory" />
>                        </analyzer>
>                        <analyzer type="query">
>                                <tokenizer 
> class="solr.KeywordTokenizerFactory"/>
>                                <filter class="solr.LowerCaseFilterFactory" />
>                        </analyzer>
>                </fieldType>
>
> When searching that field I can't get a case-insensitive match.  It works as 
> if it is a regular string, for instance I can do a prefix query and so long 
> as the prefix matches the case of the value it works, but if I change the 
> prefix case it doesn't
>
> Essentially I am trying to get case-insensitive matching that supports wild 
> cards...
>
> Tim Harsch
> Sr. Software Engineer
> Dell Perot Systems
> (650) 604-0374
>
>

Reply via email to