Use the KeywordTokenizerFactory for your text field tokenizer to keep the
text from being tokenized, and then use the LowerCaseFilterFactory token
filter to do the lowercasing. Unfortunately, "string" (StrField) does not
support analysis.
-- Jack Krupansky
-----Original Message-----
From: am
Sent: Tuesday, September 25, 2012 5:33 PM
To: solr-user@lucene.apache.org
Subject: Untokenized lowercase string
I am new to Solr. Just wetting my feet, trying to set it up and to migrate
our in-house search to it.
Is it possible to define a field type that is not tokenized, but has a
lowercase filtering? I'm sure I can do it in java code, but I am looking for
an XML file solution. Basically "Foo Bar" and "foo bar" wants to be the same
thing when stored into that field, but otherwise it wants to behave as
StrField, not TextField.
Andrew.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Untokenized-lowercase-string-tp4010296.html
Sent from the Solr - User mailing list archive at Nabble.com.