Hi wunder,
Great advice!
As a matter of fact, I choose to use upper case due to the document I
indexed, but it is really pain in the ass when typing the field names all in
upper case.
I thought there probably would be a way to set field names case-insensitive.
I was wrong, wasn't I?
Thanks,
Hyrax
Hi Shawn,
Thanks for your reply.
So you mean the field name can't be case insensitive when specifies in a
query?
I'm gonna stop doing research on this issue if this is confirmed...
Thanks,
Hyrax
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Case-sensitivity-issue-with
Lower case is safer than upper case. For unicode, uppercasing is a lossy
conversion. There are sets of different lower case characters that convert to
the same upper case character. When you convert back to lower case, you don't
know which one it was originally.
Always use lower case for text.
On 2/28/2013 3:40 PM, hyrax wrote:
I'm using Solr 4.0 and I recently notice an issue that bothers me a lot
which is that if you define a field in your schema named 'HOST' then in the
query you have to specify this field by 'HOST' while if you used 'host' it
would throw an 'undefined field' error.