We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
delete_by_query
1 parent ae08dc5 commit 8107109Copy full SHA for 8107109
elasticsearch-api/lib/elasticsearch/api/actions/delete_by_query.rb
@@ -13,7 +13,7 @@ module Actions
13
#
14
# @example Deleting documents using the Query DSL
15
16
- # client.delete_by_query index: 'myindex', body: { term: { published: false } }
+ # client.delete_by_query index: 'myindex', body: { query: { term: { published: false } } }
17
18
# @option arguments [List] :index A comma-separated list of indices to restrict the operation;
19
# use `_all`to perform the operation on all indices (*Required*)
0 commit comments