I have an index with following mapping
{
"testmap": {
"mappings": {
"user": {
"properties": {
"plans": {
"type": "nested",
"properties": {
"user": {
"type": "long"
}
}
},
"status": {
"type": "integer"
}
}
}
}
}
}
I want to delete status field mapping. I don't mind to loose data on that field. Is there any option to delete status field. 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 much appreciated. Thank you.