You can't get 'round this without creating a copyField or similar. It's easy
to do in schema.xml
Store one field (e.g. 'state') using a fieldType that is configured to use a
LowercaseFilterFactory, and the other not (e.g. 'state_verbatim').
When you search, use the lowercase one for case-insensiti
>
> All my fields are stored.
>
> And if my field name is "state" means that your suggestion
> is appending
> "fl=state", then no, that's not doing anything for
> me. =(
>
> The above config gets me part of the way to where I need to
> be. Storing,
> for instance, "Alaska" in such a way that
alues 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-Insens
d that without the dupe field?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Case-Insensitive-search-while-preserving-case-tp777602p777674.html
Sent from the Solr - User mailing list archive at Nabble.com.
> 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:
>
> class="solr.TextField"
> positionIncrementGap="100">
>
> class="solr.KeywordTokenizerFactory"/>
> class="solr.LowerCaseFilterFactor
k 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.