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?