Change mapping to convert live string data to integer for field?

Hi,

Once the field datatype determined, You cannot change it (adding new field is enable).
So you should create new index with new mapping, and reindex the data in old index to new one.

https://www.elastic.co/guide/en/elasticsearch/reference/2.4/docs-reindex.html

regard.

1 Like