lib/elasticsearch/api/actions/indices/segments.rb in elasticsearch-api-1.0.18 vs lib/elasticsearch/api/actions/indices/segments.rb in elasticsearch-api-1.1.pre
- old
+ new
@@ -30,9 +30,12 @@
: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