Skip to content

Commit

Permalink
fix DeleteByQuery param white list (#748)
Browse files Browse the repository at this point in the history
method delete_by_query can use the q parameter in the same way as the search api
  • Loading branch information
Rabotyahoff authored and polyfractal committed Apr 4, 2018
1 parent b8e3bc9 commit 8d963c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Elasticsearch/Endpoints/DeleteByQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public function getParamWhitelist()
'lenient',
'preference',
'query',
'q',
'refresh',
'request_cache',
'requests_per_second',
Expand Down

0 comments on commit 8d963c6

Please sign in to comment.