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.

I have my mapping as below:


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


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:


Interpreted as : (Does not assign keyword now)


Any reason why this happens?

Thanks !

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