Setting up default analyzer in elastic


(yehuda) #1

Hi,

After each data injection to the elastic, the index of this data is analyzed.
this is an issue in specific cases when working with Kibana.

Is it possible to set "string" type as not analyzed per elastic cluster?

Thanks
Yehuda


(Magnus B├Ąck) #2

Yes, you can change the mapping of each field in each index. This is done either when creating the index or via index templates. If you're using Logstash it creates an index template for you with non-analyzed .raw subfields for all string fields.


(system) #3