Elastic search results are in lower case


(Sriram Nageswaran) #1

We are populating Elastic search indices from a SQL data base. The search results are in lower case. We need the right casing with which the data was updated. Is there any setting that will help retain the case of the data being stored?


(Aaron Mildenstein) #2

You'll need to do a mapping of some kind with the field(s) set to not_analyzed. With multi-field mappings, you can keep one analyzed and another version of the same data not_analyzed.


(Aaron Mildenstein) #3

Holy cow, I can't believe I linked to 0.90.x documentation!

This is better and current:

https://www.elastic.co/guide/en/elasticsearch/reference/current/_multi_fields.html


(Aaron Mildenstein) #4

And this is the full reference.


(system) #5