I have an index with the following display
{ "testmap": { "mappings": { "user": { "properties": { "plans": { "type": "nested", "properties": { "user": { "type": "long" } } }, "status": { "type": "integer" } } } } } }
I want to remove the display of status fields. I do not mind losing data in this area. Is it possible to delete the status field. I tried
curl -XDELETE http://192.168.2.2:9200/testmap/user/status {"found":false,"_index":"testmap","_type":"user","_id":"status","_version":1
Your help is greatly appreciated. Thanks.
source share