Aggregatable fields change after renaming them ? Elasticsearch 6.7

Hi ,

I'm wondering why my elasticsearch mappings are changing automatically after I rename fields like "city", "state", "statefp" etc. Also, this is effecting which fields can be aggregatable on the Kibana side.

Before:
I have my mapping as below:

image

It gets interpreted as below: (it assigns 'type' and 'ignore above' fields)

image

After: However after I rename them to "geocoded_city" and "geocoded_state" etc.. They are treated very differently by the elasticsearch analyzer. I have not changed anything else.

Here is mapping after renaming:

image

Interpreted as : (Does not assign keyword now)

image

Any reason why this happens?

Thanks !

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.