PUT mapping doesn't actually replace the mapping but only "updates" it with new fields

You can not change or remove existing mappings in an index in Elasticsearch, only add new ones. If you do need to remove something you will need to create a new index with the correct mapping and reindex the data.

1 Like