lib/elasticsearch/api/actions/indices/segments.rb in elasticsearch-api-1.1.3 vs lib/elasticsearch/api/actions/indices/segments.rb in elasticsearch-api-2.0.0.pre
- old
+ new
@@ -30,12 +30,9 @@
:allow_no_indices,
:expand_wildcards,
:verbose
]
- unsupported_params = [ :verbose ]
- Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
-
method = HTTP_GET
path = Utils.__pathify Utils.__listify(arguments[:index]), '_segments'
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil