lib/elasticsearch/api/actions/search_shards.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/search_shards.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -27,10 +27,10 @@
:routing,
:local,
:ignore_unavailable,
:allow_no_indices,
:expand_wildcards ]
- method = 'GET'
+ method = HTTP_GET
path = Utils.__pathify( Utils.__listify(arguments[:index]), Utils.__listify(arguments[:type]), '_search_shards' )
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil
perform_request(method, path, params, body).body