Lines Matching defs:params

33      * $params['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
35 * @param array $params Associative array of parameters
42 public function cacheStats(array $params = [])
44 $node_id = $this->extractArgument($params, 'node_id');
48 $endpoint->setParams($params);
56 * $params['index'] = (list) A comma-separated list of index names
57 * $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed)
58 * $params['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)
59 * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,none,all) (Default = open)
61 * @param array $params Associative array of parameters
68 public function clearCache(array $params = [])
70 $index = $this->extractArgument($params, 'index');
74 $endpoint->setParams($params);
82 * $params['repository'] = (string) The name of the repository containing the snapshot of the index to mount
83 * $params['snapshot'] = (string) The name of the snapshot of the index to mount
84 * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
85 * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = false)
86 * $params['storage'] = (string) Selects the kind of local storage used to accelerate searches. Experimental, and defaults to `full_copy` (Default = )
87 * $params['body'] = (array) The restore configuration for mounting the snapshot as searchable (Required)
89 * @param array $params Associative array of parameters
96 public function mount(array $params = [])
98 $repository = $this->extractArgument($params, 'repository');
99 $snapshot = $this->extractArgument($params, 'snapshot');
100 $body = $this->extractArgument($params, 'body');
104 $endpoint->setParams($params);
114 * $params['repository'] = (string) The repository for which to get the stats for
116 * @param array $params Associative array of parameters
123 public function repositoryStats(array $params = [])
125 $repository = $this->extractArgument($params, 'repository');
129 $endpoint->setParams($params);
137 * $params['index'] = (list) A comma-separated list of index names
138 * $params['level'] = (enum) Return stats aggregated at cluster, index or shard level (Options = cluster,indices,shards) (Default = indices)
140 * @param array $params Associative array of parameters
147 public function stats(array $params = [])
149 $index = $this->extractArgument($params, 'index');
153 $endpoint->setParams($params);