lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]" <timothy.j.har...@nasa.gov>
Subject RE: case-insensitive string type
Date Wed, 13 Jan 2010 19:58:17 GMT
That seems to work.

But why?  Does string type not support LowerCaseFilterFactory?  Or KeywordTokenizerFactory?

-----Original Message-----
From: Ahmet Arslan [mailto:iorixxx@yahoo.com] 
Sent: Wednesday, January 13, 2010 11:51 AM
To: solr-user@lucene.apache.org
Subject: RE: case-insensitive string type

> The value in the srcANYSTRStrCI field
> is "miXCAse or LowER" according to Luke.

Can you try this fieldType (that uses class="solr.TextField") declaration and re-start tomcat
& re-index:

 <fieldType name="string_ci" class="solr.TextField" sortMissingLast="true" omitNorms="true">
      <analyzer>        
        <tokenizer class="solr.KeywordTokenizerFactory"/>       
        <filter class="solr.LowerCaseFilterFactory" />       
        <filter class="solr.TrimFilterFactory" />
     </analyzer>
</fieldType>








      

Mime
View raw message