By default, ES is case-insensitive. There are examples ( eg case insensitive search in elasticsearch ) of how to define an analyzer for a specific field in ES.
I have a large number of data types with varying fields being loaded, and it’s totally impractical for me to set the analyzer on fields by name.
I was previously using Solr, and accomplished a globally case-sensitive search by using dynamicFields for all of my data, and editing schema.xml to modify the “text” fieldtype to remove the LowerCaseFilterFactory from the analyzer.
How can I do something similar in ES?
Have a look at the elasticsearch documentation for the Analysis index module. There’s a Default analyzers section which says:
I guess that is what you’re looking for. Probably good to know that the default analyzer in elasticsearch is the StandardAnalyzer.