lib/elasticsearch/api/actions/indices/segments.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/indices/segments.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -28,10 +28,10 @@
:ignore_unavailable,
:allow_no_indices,
:expand_wildcards
]
- method = 'GET'
+ method = HTTP_GET
path = Utils.__pathify Utils.__listify(arguments[:index]), '_segments'
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil