lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbashford <>
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"
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory" />

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:
Sent from the Solr - User mailing list archive at

View raw message