[DOCS] delete by query requires a top-level query parameter

Closes #5044
This commit is contained in:
David Pilato 2014-02-06 19:59:32 +01:00
parent 730847fcee
commit 1e265b3228

View file

@ -12,7 +12,9 @@ body. Here is an example:
$ curl -XDELETE 'http://localhost:9200/twitter/tweet/_query?q=user:kimchy' $ curl -XDELETE 'http://localhost:9200/twitter/tweet/_query?q=user:kimchy'
$ curl -XDELETE 'http://localhost:9200/twitter/tweet/_query' -d '{ $ curl -XDELETE 'http://localhost:9200/twitter/tweet/_query' -d '{
"term" : { "user" : "kimchy" } "query" : {
"term" : { "user" : "kimchy" }
}
} }
' '
-------------------------------------------------- --------------------------------------------------