Lines Matching refs:index

31      * Adds a block to an index.
33 * $params['index'] = (list) A comma separated list of indices to add a block to
43 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html
47 $index = $this->extractArgument($params, 'index');
53 $endpoint->setIndex($index);
61 * $params['index'] = (string) The name of the index to scope the operation
70 $index = $this->extractArgument($params, 'index');
76 $endpoint->setIndex($index);
84 * $params['index'] = (list) A comma-separated list of index name to limit the operation
99 $index = $this->extractArgument($params, 'index');
104 $endpoint->setIndex($index);
109 * Clones an index
111 * $params['index'] = (string) The name of the source index to clone
112 * $params['target'] = (string) The name of the target index to clone into
115 * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the cloned index before the operation returns.
116 * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`)
120 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html
124 $index = $this->extractArgument($params, 'index');
131 $endpoint->setIndex($index);
138 * Closes an index.
140 * $params['index'] = (list) A comma separated list of indices to close
146 * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. Set to `index-setting` to wait according to the index setting `index.write.wait_for_active_shards`, or `all` to wait for all shards, or an integer. Defaults to `0`.
154 $index = $this->extractArgument($params, 'index');
159 $endpoint->setIndex($index);
164 * Creates an index with optional settings and mappings.
166 * $params['index'] = (string) The name of the index
171 * $params['body'] = (array) The configuration for the index (`settings` and `mappings`)
175 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html
179 $index = $this->extractArgument($params, 'index');
185 $endpoint->setIndex($index);
231 * Deletes an index.
233 * $params['index'] = (list) A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices
242 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html
246 $index = $this->extractArgument($params, 'index');
251 $endpoint->setIndex($index);
258 * $params['index'] = (list) A comma-separated list of index names (supports wildcards); use `_all` for all indices (Required)
269 $index = $this->extractArgument($params, 'index');
275 $endpoint->setIndex($index);
302 * Deletes an index template.
324 * Deletes an index template.
346 * Analyzes the disk usage of each field of an index or data stream
348 * $params['index'] = (string) Comma-separated list of indices or data streams to analyze the disk usage
350 * $params['flush'] = (boolean) Whether flush or not before analyzing the index disk usage. Defaults to true
364 $index = $this->extractArgument($params, 'index');
369 $endpoint->setIndex($index);
374 * Returns information about whether a particular index exists.
376 * $params['index'] = (list) A comma-separated list of index names
390 $index = $this->extractArgument($params, 'index');
398 $endpoint->setIndex($index);
406 * $params['index'] = (list) A comma-separated list of index names to filter aliases
419 $index = $this->extractArgument($params, 'index');
428 $endpoint->setIndex($index);
433 * Returns information about whether a particular index template exists.
459 * Returns information about whether a particular index template exists.
461 * $params['name'] = (list) The comma separated names of the index templates
487 * $params['index'] = (list) A comma-separated list of index names; use `_all` to check the types across all indices
500 $index = $this->extractArgument($params, 'index');
509 $endpoint->setIndex($index);
515 * Returns the field usage stats for each field of an index
517 * $params['index'] = (string) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
532 $index = $this->extractArgument($params, 'index');
537 $endpoint->setIndex($index);
544 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string for all indices
545 * $params['force'] = (boolean) Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal)
557 $index = $this->extractArgument($params, 'index');
562 $endpoint->setIndex($index);
569 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string for all indices
580 $index = $this->extractArgument($params, 'index');
585 $endpoint->setIndex($index);
592 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
593 * $params['flush'] = (boolean) Specify whether the index should be flushed after performing the operation (default: true)
597 * $params['max_num_segments'] = (number) The number of segments the index should be merged into (default: dynamic)
606 $index = $this->extractArgument($params, 'index');
611 $endpoint->setIndex($index);
616 * Freezes an index. A frozen index has almost no overhead on the cluster (except for maintaining its metadata in memory) and is read-only.
618 * $params['index'] = (string) The name of the index to freeze
628 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html
632 $index = $this->extractArgument($params, 'index');
637 $endpoint->setIndex($index);
644 * $params['index'] = (list) A comma-separated list of index names
656 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html
660 $index = $this->extractArgument($params, 'index');
665 $endpoint->setIndex($index);
673 * $params['index'] = (list) A comma-separated list of index names to filter aliases
686 $index = $this->extractArgument($params, 'index');
692 $endpoint->setIndex($index);
721 * $params['index'] = (list) A comma-separated list of index names
737 $index = $this->extractArgument($params, 'index');
744 $endpoint->setIndex($index);
750 * Returns an index template.
752 * $params['name'] = (list) The comma separated names of the index templates
775 * $params['index'] = (list) A comma-separated list of index names
790 $index = $this->extractArgument($params, 'index');
796 $endpoint->setIndex($index);
804 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
820 $index = $this->extractArgument($params, 'index');
826 $endpoint->setIndex($index);
832 * Returns an index template.
834 * $params['name'] = (list) The comma separated names of the index templates
858 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
869 $index = $this->extractArgument($params, 'index');
874 $endpoint->setIndex($index);
899 * Opens an index.
901 * $params['index'] = (list) A comma separated list of indices to open
915 $index = $this->extractArgument($params, 'index');
920 $endpoint->setIndex($index);
947 * $params['index'] = (list) A comma-separated list of index names the alias should point to (supports wildcards); use `_all` to perform the operation on all indices. (Required)
959 $index = $this->extractArgument($params, 'index');
966 $endpoint->setIndex($index);
973 * Creates or updates an index template.
976 * $params['create'] = (boolean) Whether the index template should only be added if new or can also replace an existing one (Default = false)
977 * $params['cause'] = (string) User defined reason for creating/updating the index template (Default = )
999 * Updates the index mappings.
1001 * $params['index'] = (list) A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.
1009 * $params['write_index_only'] = (boolean) When true, applies mappings only to the write index of an alias or data stream (Default = false)
1018 $index = $this->extractArgument($params, 'index');
1025 $endpoint->setIndex($index);
1032 * Updates the index settings.
1034 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1037 * $params['preserve_existing'] = (boolean) Whether to update existing settings. If set to `true` existing settings on an index remain unchanged, the default is `false`
1042 * $params['body'] = (array) The index settings to be updated (Required)
1050 $index = $this->extractArgument($params, 'index');
1056 $endpoint->setIndex($index);
1062 * Creates or updates an index template.
1067 * $params['create'] = (boolean) Whether the index template should only be added if new or can also replace an existing one (Default = false)
1089 * Returns information about ongoing index shard recoveries.
1091 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1101 $index = $this->extractArgument($params, 'index');
1106 $endpoint->setIndex($index);
1113 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1124 $index = $this->extractArgument($params, 'index');
1129 $endpoint->setIndex($index);
1134 * Reloads an index's search analyzers and their resources.
1136 * $params['index'] = (list) A comma-separated list of index names to reload analyzers for
1147 $index = $this->extractArgument($params, 'index');
1152 $endpoint->setIndex($index);
1164 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html
1181 * Updates an alias to point to a new index when the existing indexis considered to be too large or too old.
1184 * $params['new_index'] = (string) The name of the rollover index
1189 * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the newly created rollover index before the operation returns.
1194 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html
1212 * Provides low-level information about segments in a Lucene index.
1214 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1226 $index = $this->extractArgument($params, 'index');
1231 $endpoint->setIndex($index);
1238 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1250 $index = $this->extractArgument($params, 'index');
1255 $endpoint->setIndex($index);
1260 * Allow to shrink an existing index into a new index with fewer primary shards.
1262 * $params['index'] = (string) The name of the source index to shrink
1263 * $params['target'] = (string) The name of the target index to shrink into
1264 * $params['copy_settings'] = (boolean) whether or not to copy settings from the source index (defaults to false)
1267 * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns.
1268 * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`)
1272 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html
1276 $index = $this->extractArgument($params, 'index');
1283 $endpoint->setIndex($index);
1290 * Simulate matching the given index name against the index templates in the system
1292 * $params['name'] = (string) The name of the index (it must be a concrete index name)
1293 * $params['create'] = (boolean) Whether the index template we optionally defined in the body should only be dry-run added if new or can also replace an existing one (Default = false)
1296 * $params['body'] = (array) New index template definition, which will be included in the simulation, as if it already exists in the system
1318 * $params['name'] = (string) The name of the index template
1319 * $params['create'] = (boolean) Whether the index template we optionally defined in the body should only be dry-run added if new or can also replace an existing one (Default = false)
1322 * $params['body'] = (array) New index template definition to be simulated, if no index template name is specified
1342 * Allows you to split an existing index into a new index with more primary shards.
1344 * $params['index'] = (string) The name of the source index to split
1345 * $params['target'] = (string) The name of the target index to split into
1346 * $params['copy_settings'] = (boolean) whether or not to copy settings from the source index (defaults to false)
1349 * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns.
1350 * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`)
1354 * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html
1358 $index = $this->extractArgument($params, 'index');
1365 $endpoint->setIndex($index);
1372 * Provides statistics on operations happening in an index.
1375 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1376 * $params['completion_fields'] = (list) A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)
1377 * $params['fielddata_fields'] = (list) A comma-separated list of fields for `fielddata` index metric (supports wildcards)
1378 * $params['fields'] = (list) A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)
1379 * $params['groups'] = (list) A comma-separated list of search groups for `search` index metric
1380 * $params['level'] = (enum) Return stats aggregated at cluster, index or shard level (Options = cluster,indices,shards) (Default = indices)
1381 * $params['types'] = (list) A comma-separated list of document types for the `indexing` index metric
1382 * $params['include_segment_file_sizes'] = (boolean) Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested) (Default = false)
1394 $index = $this->extractArgument($params, 'index');
1400 $endpoint->setIndex($index);
1405 * Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.
1407 * $params['index'] = (string) The name of the index to unfreeze
1417 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html
1421 $index = $this->extractArgument($params, 'index');
1426 $endpoint->setIndex($index);
1431 * Updates index aliases.
1455 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1468 $index = $this->extractArgument($params, 'index');
1473 $endpoint->setIndex($index);
1480 * $params['index'] = (list) A comma-separated list of index names to restrict the operation; use `_all` or empty string to perform the operation on all indices
1493 * $params['all_shards'] = (boolean) Execute validation on all shards instead of one random shard per index
1502 $index = $this->extractArgument($params, 'index');
1509 $endpoint->setIndex($index);