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
For this scenario, you'll want to use copyField. Search on the
lowercased field, but facet on a field without lowercasing involved.
Erik
On May 4, 2010, at 7:24 PM, dbashford wrote:
I've looked through the history and tried a lot of things but can't
quite get
this to work.
Used
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 querying for "alaska",
> 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