lib/elasticsearch/api/actions/cluster/allocation_explain.rb in elasticsearch-api-1.0.18 vs lib/elasticsearch/api/actions/cluster/allocation_explain.rb in elasticsearch-api-1.1.pre
- old
+ new
@@ -9,9 +9,11 @@
# @option arguments [Boolean] :include_yes_decisions Return 'YES' decisions in explanation (default: false)
#
# @see http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
#
def allocation_explain(arguments={})
+ Utils.__report_unsupported_method(__method__)
+
valid_params = [
:include_yes_decisions ]
method = 'GET'
path = "_cluster/allocation/explain"
params = Utils.__validate_and_extract_params arguments, valid_params