You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 'index' => '(list) Limit the information returned to a specific index',
25
+
* 'expand_wildcards' => '(enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,none,all) (Default = all)',
26
+
* 'level' => '(enum) Specify the level of detail for returned information (Options = cluster,indices,shards) (Default = cluster)',
27
+
* 'local' => '(boolean) Return local information, do not retrieve the state from master node (default: false)',
28
+
* 'master_timeout' => '(time) Explicit operation timeout for connection to master node',
* 'wait_for_active_shards' => '(string) Wait until the specified number of shards is active',
31
+
* 'wait_for_nodes' => '(string) Wait until the specified number of nodes is available',
32
+
* 'wait_for_events' => '(enum) Wait until all currently queued events with the given priority are processed (Options = immediate,urgent,high,normal,low,languid)',
33
+
* 'wait_for_no_relocating_shards' => '(boolean) Whether to wait until there are no relocating shards in the cluster',
34
+
* 'wait_for_no_initializing_shards' => '(boolean) Whether to wait until there are no initializing shards in the cluster',
35
+
* 'wait_for_status' => '(enum) Wait until cluster is in a specific state (Options = green,yellow,red)',
36
+
* ]
29
37
* @return callable|array
30
38
*/
31
39
publicfunctionhealth(array$params = [])
@@ -48,11 +56,19 @@ public function health(array $params = [])
48
56
}
49
57
50
58
/**
51
-
* $params['dry_run'] = (boolean) Simulate the operation only and return the resulting state
* 'body' => '(string) The definition of `commands` to perform (`move`, `cancel`, `allocate`)',
65
+
* 'dry_run' => '(boolean) Simulate the operation only and return the resulting state',
66
+
* 'explain' => '(boolean) Return an explanation of why the commands can or cannot be executed',
67
+
* 'retry_failed' => '(boolean) Retries allocation of shards that are blocked due to too many subsequent allocation failures',
68
+
* 'metric' => '(list) Limit the information returned to the specified metrics. Defaults to all but metadata (Options = _all,blocks,metadata,nodes,routing_table,master_node,version)',
69
+
* 'master_timeout' => '(time) Explicit operation timeout for connection to master node',
* 'index' => '(list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices',
100
+
* 'metric' => '(list) Limit the information returned to the specified metrics',
101
+
* 'local' => '(boolean) Return local information, do not retrieve the state from master node (default: false)',
102
+
* 'master_timeout' => '(time) Specify timeout for connection to master',
103
+
* 'flat_settings' => '(boolean) Return settings in flat format (default: false)',
104
+
* 'wait_for_metadata_version' => '(number) Wait for the metadata version to be equal or greater than the specified metadata version',
105
+
* 'wait_for_timeout' => '(time) The maximum time to wait for wait_for_metadata_version before timing out',
106
+
* 'ignore_unavailable' => '(boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed)',
107
+
* 'allow_no_indices' => '(boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)',
108
+
* 'expand_wildcards' => '(enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,none,all) (Default = open)',
109
+
* ]
87
110
* @return callable|array
88
111
*/
89
112
publicfunctionstate(array$params = [])
@@ -108,9 +131,15 @@ public function state(array $params = [])
108
131
}
109
132
110
133
/**
111
-
* $params['flat_settings'] = (boolean) Return settings in flat format (default: false)
112
-
* ['human'] = (boolean) Whether to return time and byte values in human-readable format.
* 'node_id' => '(list) A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes',
140
+
* 'flat_settings' => '(boolean) Return settings in flat format (default: false)',
0 commit comments