lib/elasticsearch/api/actions/update_by_query.rb in elasticsearch-api-1.1.3 vs lib/elasticsearch/api/actions/update_by_query.rb in elasticsearch-api-2.0.0.pre
- old
+ new
@@ -109,9 +109,12 @@
:consistency,
:scroll_size,
:wait_for_completion,
:requests_per_second ]
+ unsupported_params = [ :pipeline ]
+ Utils.__report_unsupported_parameters(arguments, unsupported_params)
+
method = HTTP_POST
path = Utils.__pathify Utils.__listify(arguments[:index]),
Utils.__listify(arguments[:type]),
'/_update_by_query'