lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-1.0.7

- old
+ new

@@ -47,10 +47,10 @@ :expand_wildcards, :preference, :routing, :scroll, :search_type ] - method = 'GET' + method = HTTP_GET path = Utils.__pathify( Utils.__listify(arguments[:index]), Utils.__listify(arguments[:type]), '_search/template' ) params = Utils.__validate_and_extract_params arguments, valid_params body = arguments[:body] perform_request(method, path, params, body).body