Closed
Description
Heya,
As we did it for #4481, it could be safe not to allow anymore removing a type using:
DELETE /index/type
But only allow:
DELETE /index/type/_mapping
DELETE /index/_mapping/type
It could happen that a user which have previously posted a new document deletes all documents by forgetting to provide the _id
.
POST /index/type
{
"foo" : "bar"
}
# Just change the VERB and you wipe every documents!
DELETE /index/type
{
"foo" : "bar"
}
Thoughts?