lib/elasticsearch/api/actions/indices/put_settings.rb in elasticsearch-api-1.0.18 vs lib/elasticsearch/api/actions/indices/put_settings.rb in elasticsearch-api-1.1.pre
- old
+ new
@@ -57,9 +57,12 @@
:preserve_existing,
:master_timeout,
:flat_settings
]
+ unsupported_params = [ :update_all_types ]
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
+
method = HTTP_PUT
path = Utils.__pathify Utils.__listify(arguments[:index]), '_settings'
params = Utils.__validate_and_extract_params arguments, valid_params
body = arguments[:body]