lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbashford <dbashf...@hotmail.com>
Subject Case Insensitive search while preserving case
Date Tue, 04 May 2010 23:24:28 GMT

I've looked through the history and tried a lot of things but can't quite get
this to work.

Used this in my last attempt:

    <fieldType name="lowercase" class="solr.TextField"
positionIncrementGap="100">
      <analyzer>
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory" />
      </analyzer>
    </fieldType>


What I'm looking to do is allow user's to execute case insensitive searches,
which this does.  "BLaH" should return all the "Blah"s.  However, what this
also seems to do is render the values lowercased when I do faceted or stats
queries, or if I do a terms search.  Always returned as "blah".

Is there any way to only ever get the original value out of Solr no matter
how I ask for it? 
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Case-Insensitive-search-while-preserving-case-tp777602p777602.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message