Hi, everyone
I upgrade ES from 5.4.0 to 6.8.0.
Now I want to disable _all field in my index and I get a error:
curl -XPUT 172.16.3.81:9200/human -d'
{
"mappings": {
"human": {
"_all": {
"enabled": false
}
}
}
}
'
{"error":{"root_cause":[{"type":"resource_already_exists_exception","reason":"index [dzwl-d406-imsiimei20190703/wqC7apwuREm6e6OsY3lLzA] already exists","index_uuid":"wqC7apwuREm6e6OsY3lLzA","index":"dzwl-d406-imsiimei20190703"}],"type":"resource_already_exists_exception","reason":"index [dzwl-d406-imsiimei20190703/wqC7apwuREm6e6OsY3lLzA] already exists","index_uuid":"wqC7apwuREm6e6OsY3lLzA","index":"dzwl-d406-imsiimei20190703"},"status":400}[root@hadoop-5 waitupdate]#
How can I disable _all field in ES?
thank you very much.