Skip to content

Commit

Permalink
[DOCS] delete by query requires a top-level query parameter
Browse files Browse the repository at this point in the history
Closes #5044
  • Loading branch information
dadoonet committed Feb 7, 2014
1 parent 730847f commit 1e265b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference/docs/delete-by-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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' -d '{
"term" : { "user" : "kimchy" }
"query" : {
"term" : { "user" : "kimchy" }
}
}
'
--------------------------------------------------
Expand Down

0 comments on commit 1e265b3

Please sign in to comment.