Summary
This is a regression of #37504.
Environment
Kibana: 7.x (7.11)
Elasticsearch: 7.x (7.11)
How To Test
Run the following command in console.
PUT test/_doc/1
{}
DELETE /test
{
"query" : {
"term" : {
"field" : "value"
}
}
}
The above is no longer rejected.
Another example (which found this regression):
POST /latency/_forcemerge
{
"only_expunge_deletes": true,
"max_num_segments": 1
}
Which since #37504 should not be allowed. (related: #30792)
Screenie
http://g.recordit.co/bUGDVNyJue.gif