Search-Elasticsearch-Client-0_90
view release on metacpan or search on metacpan
lib/Search/Elasticsearch/Client/0_90/Direct/Cluster.pm view on Meta::CPAN
health, returning C<red>, C<yellow> or C<green> to indicate the state
of the cluster, indices or shards.
Query string parameters:
C<level>,
C<local>,
C<master_timeout>,
C<timeout>,
C<wait_for_active_shards>,
C<wait_for_nodes>,
C<wait_for_relocating_shards>,
C<wait_for_status>
See the L<cluster health docs|http://www.elastic.co/guide/en/elasticsearch/reference/0.90/cluster-health.html>
for more information.
=head2 C<pending_tasks()>
$response = $e->cluster->pending_tasks();
Returns a list of cluster-level tasks still pending on the master node.
lib/Search/Elasticsearch/Client/0_90/Role/API.pm view on Meta::CPAN
[ {}, "_cluster", "health" ],
],
qs => {
filter_path => "list",
level => "enum",
local => "boolean",
master_timeout => "time",
timeout => "time",
wait_for_active_shards => "number",
wait_for_nodes => "string",
wait_for_relocating_shards => "number",
wait_for_status => "enum",
},
},
'cluster.node_hot_threads' => {
doc => "cluster-nodes-hot-threads",
parts => { node_id => { multi => 1 } },
paths => [
[ { node_id => 1 }, "_nodes", "{node_id}", "hot_threads" ],
[ {}, "_nodes", "hot_threads" ],
( run in 0.586 second using v1.01-cache-2.11-cpan-5511b514fd6 )