lib/elasticsearch/api/actions/bulk.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/bulk.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -63,10 +63,10 @@
:refresh,
:replication,
:type,
:timeout ]
- method = 'POST'
+ method = HTTP_POST
path = Utils.__pathify Utils.__escape(arguments[:index]), Utils.__escape(arguments[:type]), '_bulk'
params = Utils.__validate_and_extract_params arguments, valid_params
body = arguments[:body]