Elasticsearch\Namespaces\IndicesNamespace
editElasticsearch\Namespaces\IndicesNamespace
editClass IndicesNamespace
Description
this file is autogenerated using util/GenerateEndpoints.php and Elasticsearch 7.12.1 (3186837139b9c6b6d23c3200870651f10d3343b7)
Methods
The class defines the following methods:
-
addBlock()
-
analyze()
-
clearCache()
-
clone()
-
close()
-
create()
-
createDataStream()
-
dataStreamsStats()
-
delete()
-
deleteAlias()
-
deleteDataStream()
-
deleteIndexTemplate()
-
deleteTemplate()
-
exists()
-
existsAlias()
-
existsIndexTemplate()
-
existsTemplate()
-
existsType()
-
flush()
-
flushSynced()
-
forcemerge()
-
freeze()
-
get()
-
getAlias()
-
getDataStream()
-
getFieldMapping()
-
getIndexTemplate()
-
getMapping()
-
getSettings()
-
getTemplate()
-
getUpgrade()
-
migrateToDataStream()
-
open()
-
promoteDataStream()
-
putAlias()
-
putIndexTemplate()
-
putMapping()
-
putSettings()
-
putTemplate()
-
recovery()
-
refresh()
-
reloadSearchAnalyzers()
-
resolveIndex()
-
rollover()
-
segments()
-
shardStores()
-
shrink()
-
simulateIndexTemplate()
-
simulateTemplate()
-
split()
-
stats()
-
unfreeze()
-
updateAliases()
-
upgrade()
-
validateQuery()
-
getAliases()
addBlock(array $params = [])
/* $params['index'] = (list) A comma separated list of indices to add a block to $params['block'] = (string) The block to add (one of read, write, read_only or metadata) $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) */
analyze(array $params = [])
/* $params['index'] = (string) The name of the index to scope the operation $params['body'] = (array) Define analyzer/tokenizer parameters and the text on which the analysis should be performed */
clearCache(array $params = [])
/* $params['index'] = (list) A comma-separated list of index name to limit the operation $params['fielddata'] = (boolean) Clear field data $params['fields'] = (list) A comma-separated list of fields to clear when using the `fielddata` parameter (default: all) $params['query'] = (boolean) Clear query caches $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['request'] = (boolean) Clear request cache */
clone(array $params = [])
/* $params['index'] = (string) The name of the source index to clone $params['target'] = (string) The name of the target index to clone into $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the cloned index before the operation returns. */
close(array $params = [])
/* $params['index'] = (list) A comma separated list of indices to close $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $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`. */
create(array $params = [])
/* $params['index'] = (string) The name of the index $params['include_type_name'] = (boolean) Whether a type should be expected in the body of the mappings. */
dataStreamsStats(array $params = [])
/* $params['name'] = (list) A comma-separated list of data stream names; use `_all` or empty string to perform the operation on all data streams */
delete(array $params = [])
/* $params['index'] = (list) A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['ignore_unavailable'] = (boolean) Ignore unavailable indexes (default: false) $params['allow_no_indices'] = (boolean) Ignore if a wildcard expression resolves to no concrete indices (default: false) $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) */
deleteAlias(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names (supports wildcards); use `_all` for all indices (Required) $params['name'] = (list) A comma-separated list of aliases to delete (supports wildcards); use `_all` to delete all aliases for the specified indices. (Required) $params['timeout'] = (time) Explicit timestamp for the document $params['master_timeout'] = (time) Specify timeout for connection to master */
deleteDataStream(array $params = [])
/* $params['name'] = (list) A comma-separated list of data streams to delete; use `*` to delete all data streams $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) */
deleteIndexTemplate(array $params = [])
/* $params['name'] = (string) The name of the template $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master */
deleteTemplate(array $params = [])
/* $params['name'] = (string) The name of the template $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master */
exists(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) $params['ignore_unavailable'] = (boolean) Ignore unavailable indexes (default: false) $params['allow_no_indices'] = (boolean) Ignore if a wildcard expression resolves to no concrete indices (default: false) $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) $params['flat_settings'] = (boolean) Return settings in flat format (default: false) $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) */
existsAlias(array $params = [])
/* $params['name'] = (list) A comma-separated list of alias names to return (Required) $params['index'] = (list) A comma-separated list of index names to filter aliases $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) */
existsIndexTemplate(array $params = [])
/* $params['name'] = (string) The name of the template $params['flat_settings'] = (boolean) Return settings in flat format (default: false) $params['master_timeout'] = (time) Explicit operation timeout for connection to master node $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) */
existsTemplate(array $params = [])
/* $params['name'] = (list) The comma separated names of the index templates $params['flat_settings'] = (boolean) Return settings in flat format (default: false) $params['master_timeout'] = (time) Explicit operation timeout for connection to master node $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) */
existsType(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` to check the types across all indices $params['type'] = DEPRECATED (list) A comma-separated list of document types to check $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) */
flush(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string for all indices $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) $params['wait_if_ongoing'] = (boolean) If set to true the flush operation will block until the flush can be executed if another flush operation is already executing. The default is true. If set to false the flush will be skipped iff if another flush operation is already running. */
flushSynced(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string for all indices $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $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) */
forcemerge(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['flush'] = (boolean) Specify whether the index should be flushed after performing the operation (default: true) $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['max_num_segments'] = (number) The number of segments the index should be merged into (default: dynamic) $params['only_expunge_deletes'] = (boolean) Specify whether the operation should only expunge deleted documents */
freeze(array $params = [])
/* $params['index'] = (string) The name of the index to freeze $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. */
get(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names $params['include_type_name'] = (boolean) Whether to add the type name to the response (default: false) $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) $params['ignore_unavailable'] = (boolean) Ignore unavailable indexes (default: false) $params['allow_no_indices'] = (boolean) Ignore if a wildcard expression resolves to no concrete indices (default: false) $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) $params['flat_settings'] = (boolean) Return settings in flat format (default: false) $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) $params['master_timeout'] = (time) Specify timeout for connection to master */
getAlias(array $params = [])
/* $params['name'] = (list) A comma-separated list of alias names to return $params['index'] = (list) A comma-separated list of index names to filter aliases $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) */
getDataStream(array $params = [])
/* $params['name'] = (list) A comma-separated list of data streams to get; use `*` to get all data streams $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) */
getFieldMapping(array $params = [])
/* $params['fields'] = (list) A comma-separated list of fields (Required) $params['index'] = (list) A comma-separated list of index names $params['type'] = DEPRECATED (list) A comma-separated list of document types $params['include_type_name'] = (boolean) Whether a type should be returned in the body of the mappings. */
getIndexTemplate(array $params = [])
/* $params['name'] = (list) The comma separated names of the index templates $params['flat_settings'] = (boolean) Return settings in flat format (default: false) $params['master_timeout'] = (time) Explicit operation timeout for connection to master node $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) */
getMapping(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names $params['type'] = DEPRECATED (list) A comma-separated list of document types $params['include_type_name'] = (boolean) Whether to add the type name to the response (default: false) $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['master_timeout'] = (time) Specify timeout for connection to master $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) */
getSettings(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['name'] = (list) The name of the settings that should be included $params['master_timeout'] = (time) Specify timeout for connection to master $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) $params['flat_settings'] = (boolean) Return settings in flat format (default: false) $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) */
getTemplate(array $params = [])
/* $params['name'] = (list) The comma separated names of the index templates $params['include_type_name'] = (boolean) Whether a type should be returned in the body of the mappings. */
getUpgrade(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) */
migrateToDataStream(array $params = [])
/* $params['name'] = (string) The name of the alias to migrate */
open(array $params = [])
/* $params['index'] = (list) A comma separated list of indices to open $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. */
putAlias(array $params = [])
/* $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) $params['name'] = (string) The name of the alias to be created or updated (Required) $params['timeout'] = (time) Explicit timestamp for the document $params['master_timeout'] = (time) Specify timeout for connection to master $params['body'] = (array) The settings for the alias, such as `routing` or `filter` */
putIndexTemplate(array $params = [])
/* $params['name'] = (string) The name of the template $params['create'] = (boolean) Whether the index template should only be added if new or can also replace an existing one (Default = false) $params['cause'] = (string) User defined reason for creating/updating the index template (Default = ) $params['master_timeout'] = (time) Specify timeout for connection to master $params['body'] = (array) The template definition (Required) */
putMapping(array $params = [])
/* $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. */
putSettings(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['master_timeout'] = (time) Specify timeout for connection to master $params['timeout'] = (time) Explicit operation timeout $params['preserve_existing'] = (boolean) Whether to update existing settings. If set to `true` existing settings on an index remain unchanged, the default is `false` $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['flat_settings'] = (boolean) Return settings in flat format (default: false) $params['body'] = (array) The index settings to be updated (Required) */
putTemplate(array $params = [])
/* $params['name'] = (string) The name of the template $params['include_type_name'] = (boolean) Whether a type should be returned in the body of the mappings. */
recovery(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['detailed'] = (boolean) Whether to display detailed information about shard recovery (Default = false) $params['active_only'] = (boolean) Display only those recoveries that are currently on-going (Default = false) */
refresh(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) */
reloadSearchAnalyzers(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names to reload analyzers for $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) */
resolveIndex(array $params = [])
NOTE: This API is EXPERIMENTAL and may be changed or removed completely in a future release
/* $params['name'] = (list) A comma-separated list of names or wildcard expressions $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) */
rollover(array $params = [])
/* $params['alias'] = (string) The name of the alias to rollover (Required) $params['new_index'] = (string) The name of the rollover index $params['include_type_name'] = (boolean) Whether a type should be included in the body of the mappings. */
segments(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['verbose'] = (boolean) Includes detailed memory usage by Lucene. (Default = false) */
shardStores(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $params['status'] = (list) A comma-separated list of statuses used to filter on shards to get store information for (Options = green,yellow,red,all) $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) */
shrink(array $params = [])
/* $params['index'] = (string) The name of the source index to shrink $params['target'] = (string) The name of the target index to shrink into $params['copy_settings'] = (boolean) whether or not to copy settings from the source index (defaults to false) $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns. */
simulateIndexTemplate(array $params = [])
/* $params['name'] = (string) The name of the index (it must be a concrete index name) $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) $params['cause'] = (string) User defined reason for dry-run creating the new template for simulation purposes (Default = ) $params['master_timeout'] = (time) Specify timeout for connection to master $params['body'] = (array) New index template definition, which will be included in the simulation, as if it already exists in the system */
simulateTemplate(array $params = [])
/* $params['name'] = (string) The name of the index template $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) $params['cause'] = (string) User defined reason for dry-run creating the new template for simulation purposes (Default = ) $params['master_timeout'] = (time) Specify timeout for connection to master $params['body'] = (array) New index template definition to be simulated, if no index template name is specified */
split(array $params = [])
/* $params['index'] = (string) The name of the source index to split $params['target'] = (string) The name of the target index to split into $params['copy_settings'] = (boolean) whether or not to copy settings from the source index (defaults to false) $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns. */
stats(array $params = [])
/* $params['metric'] = (list) Limit the information returned the specific metrics. */
unfreeze(array $params = [])
/* $params['index'] = (string) The name of the index to unfreeze $params['timeout'] = (time) Explicit operation timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. */
updateAliases(array $params = [])
/* $params['timeout'] = (time) Request timeout $params['master_timeout'] = (time) Specify timeout for connection to master $params['body'] = (array) The definition of `actions` to perform (Required) */
upgrade(array $params = [])
/* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $params['wait_for_completion'] = (boolean) Specify whether the request should block until the all segments are upgraded (default: false) $params['only_ancient_segments'] = (boolean) If true, only ancient (an older Lucene major release) segments will be upgraded */
validateQuery(array $params = [])
/* $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 $params['type'] = DEPRECATED (list) A comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types $params['explain'] = (boolean) Return detailed information about the error $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) $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) $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) $params['q'] = (string) Query in the Lucene query string syntax $params['analyzer'] = (string) The analyzer to use for the query string $params['analyze_wildcard'] = (boolean) Specify whether wildcard and prefix queries should be analyzed (default: false) $params['default_operator'] = (enum) The default operator for query string query (AND or OR) (Options = AND,OR) (Default = OR) $params['df'] = (string) The field to use as default where no field prefix is given in the query string $params['lenient'] = (boolean) Specify whether format-based query failures (such as providing text to a numeric field) should be ignored $params['rewrite'] = (boolean) Provide a more detailed explanation showing the actual Lucene query that will be executed. */