NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
cluster.health
editcluster.health
editclient.cluster.health({
index: string | string[],
level: 'cluster' | 'indices' | 'shards',
local: boolean,
master_timeout: string,
timeout: string,
wait_for_active_shards: string,
wait_for_nodes: string,
wait_for_events: 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid',
wait_for_no_relocating_shards: boolean,
wait_for_no_initializing_shards: boolean,
wait_for_status: 'green' | 'yellow' | 'red'
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|