Hi, I want to search a field. The fields, not field value, are either camel case, pascal case, lower case or upper case. When I do a search I don't know what case the field is.
What options do I have...
Make everything uppercase when indexing?
Include a lowercase insensitive when indexing?
Or when I search, can I set it to case insensitive
Just to be clear, I'm not talking about the values, just the field names
You can't set the field names to be case insensitive at query time. You will need to normalise the field names in you document when indexing so they use a consistent case and also use this consistent case when searching too.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.