module ElasticSearch::Transport::ClusterAdminProtocol
Public Instance Methods
cluster_health(index_list, options={})
click to toggle source
# File lib/elasticsearch/transport/base_protocol.rb, line 186 def cluster_health(index_list, options={}) standard_request(:get, {:index => "_cluster", :type => "health", :id => index_list}, options) end
cluster_state(options={})
click to toggle source
# File lib/elasticsearch/transport/base_protocol.rb, line 190 def cluster_state(options={}) standard_request(:get, {:index => "_cluster", :op => "state"}) end
nodes_info(node_list, options={})
click to toggle source
# File lib/elasticsearch/transport/base_protocol.rb, line 194 def nodes_info(node_list, options={}) standard_request(:get, {:index => "_cluster", :type => "nodes", :id => node_list}) end
nodes_stats(node_list, options={})
click to toggle source
# File lib/elasticsearch/transport/base_protocol.rb, line 198 def nodes_stats(node_list, options={}) standard_request(:get, {:index => "_cluster", :type => "nodes", :id => node_list, :op => "stats"}) end
restart_nodes(node_list, options={})
click to toggle source
# File lib/elasticsearch/transport/base_protocol.rb, line 206 def restart_nodes(node_list, options={}) standard_request(:post, {:index => "_cluster", :type => "nodes", :id => node_list, :op => "_restart"}, options, "") end
shutdown_nodes(node_list, options={})
click to toggle source
# File lib/elasticsearch/transport/base_protocol.rb, line 202 def shutdown_nodes(node_list, options={}) standard_request(:post, {:index => "_cluster", :type => "nodes", :id => node_list, :op => "_shutdown"}, options, "") end