@@ -1955,7 +1955,7 @@ client.indices.create({ index })
1955
1955
- Field names
1956
1956
- Field data types
1957
1957
- Mapping parameters
1958
- ** *`settings` (Optional, { index, mode, routing_path, soft_deletes, sort, number_of_shards, number_of_replicas, number_of_routing_shards, check_on_startup, codec, routing_partition_size, load_fixed_bitset_filters_eagerly, hidden, auto_expand_replicas, merge, search, refresh_interval, max_result_window, max_inner_result_window, max_rescore_window, max_docvalue_fields_search, max_script_fields, max_ngram_diff, max_shingle_diff, blocks, max_refresh_listeners, analyze, highlight, max_terms_count, max_regex_length, routing, gc_deletes, default_pipeline, final_pipeline, lifecycle, provided_name, creation_date, creation_date_string, uuid, version, verified_before_close, format, max_slices_per_scroll, translog, query_string, priority, top_metrics_max_size, analysis, settings, time_series, shards, queries, similarity, mapping, indexing.slowlog, indexing_pressure, store })*: Configuration options for the index.
1958
+ ** *`settings` (Optional, { index, mode, routing_path, soft_deletes, sort, number_of_shards, number_of_replicas, number_of_routing_shards, check_on_startup, codec, routing_partition_size, load_fixed_bitset_filters_eagerly, hidden, auto_expand_replicas, merge, search, refresh_interval, max_result_window, max_inner_result_window, max_rescore_window, max_docvalue_fields_search, max_script_fields, max_ngram_diff, max_shingle_diff, blocks, max_refresh_listeners, analyze, highlight, max_terms_count, max_regex_length, routing, gc_deletes, default_pipeline, final_pipeline, lifecycle, provided_name, creation_date, creation_date_string, uuid, version, verified_before_close, format, max_slices_per_scroll, translog, query_string, priority, top_metrics_max_size, analysis, settings, time_series, queries, similarity, mapping, indexing.slowlog, indexing_pressure, store })*: Configuration options for the index.
1959
1959
** *`master_timeout` (Optional, string | -1 | 0)*: Period to wait for a connection to the master node.
1960
1960
If no response is received before the timeout expires, the request fails and returns an error.
1961
1961
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response.
@@ -2097,7 +2097,7 @@ client.indices.deleteDataStream({ name })
2097
2097
==== delete_index_template
2098
2098
Deletes an index template.
2099
2099
2100
- {ref}/indices-templates .html[Endpoint documentation]
2100
+ {ref}/indices-delete-template .html[Endpoint documentation]
2101
2101
[source,ts]
2102
2102
----
2103
2103
client.indices.deleteIndexTemplate({ name })
@@ -2167,7 +2167,7 @@ Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
2167
2167
==== exists_index_template
2168
2168
Returns information about whether a particular index template exists.
2169
2169
2170
- {ref}/indices -templates.html[Endpoint documentation]
2170
+ {ref}/index -templates.html[Endpoint documentation]
2171
2171
[source,ts]
2172
2172
----
2173
2173
client.indices.existsIndexTemplate({ name })
@@ -2300,7 +2300,7 @@ Supports a list of values, such as `open,hidden`.
2300
2300
==== get_index_template
2301
2301
Returns an index template.
2302
2302
2303
- {ref}/indices-templates .html[Endpoint documentation]
2303
+ {ref}/indices-get-template .html[Endpoint documentation]
2304
2304
[source,ts]
2305
2305
----
2306
2306
client.indices.getIndexTemplate({ ... })
@@ -2483,7 +2483,7 @@ If no response is received before the timeout expires, the request fails and ret
2483
2483
==== put_index_template
2484
2484
Creates or updates an index template.
2485
2485
2486
- {ref}/indices-templates .html[Endpoint documentation]
2486
+ {ref}/indices-put-template .html[Endpoint documentation]
2487
2487
[source,ts]
2488
2488
----
2489
2489
client.indices.putIndexTemplate({ name })
@@ -2539,7 +2539,7 @@ a new date field is added instead of string.
2539
2539
not used at all by Elasticsearch, but can be used to store
2540
2540
application-specific metadata.
2541
2541
** *`numeric_detection` (Optional, boolean)*: Automatically map strings into numeric data types for all fields.
2542
- ** *`properties` (Optional, Record<string, { type } | { boost, fielddata, index, null_value, type } | { type, enabled, null_value, boost, coerce, script, on_script_error, ignore_malformed, time_series_metric, analyzer, eager_global_ordinals, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, term_vector, format, precision_step, locale } | { relations, eager_global_ordinals, type } | { boost, eager_global_ordinals, index, index_options, normalizer, norms, null_value, split_queries_on_whitespace, type } | { type, fields, meta, copy_to } | { type } | { positive_score_impact, type } | { type } | { analyzer, index, index_options, max_shingle_size, norms, search_analyzer, search_quote_analyzer, term_vector, type } | { analyzer, boost, eager_global_ordinals, fielddata, fielddata_frequency_filter, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, term_vector, type } | { type } | { type } | { boost, format, ignore_malformed, index, null_value, precision_step, type } | { boost, fielddata, format, ignore_malformed, index, null_value, precision_step, locale, type } | { type, default_metric, metrics, time_series_metric } | { type, dims, similarity, index, index_options } | { boost, depth_limit, doc_values, eager_global_ordinals, index, index_options, null_value, similarity, split_queries_on_whitespace, type } | { enabled, include_in_parent, include_in_root, type } | { enabled, type } | { analyzer, contexts, max_input_length, preserve_position_increments, preserve_separators, search_analyzer, type } | { value, type } | { path, type } | { ignore_malformed, type } | { boost, index, ignore_malformed, null_value, on_script_error, script, type } | { type } | { analyzer, boost, index, null_value, enable_position_increments, type } | { ignore_malformed, ignore_z_value, null_value, type } | { coerce, ignore_malformed, ignore_z_value, orientation, strategy, type } | { ignore_malformed, ignore_z_value, null_value, type } | { coerce, ignore_malformed, ignore_z_value, orientation, type } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value, scaling_factor } | { type, null_value } | { type, null_value } | { format, type } | { type } | { type } | { type } | { type } | { type }>)*: Mapping for a field. For new fields, this mapping can include:
2542
+ ** *`properties` (Optional, Record<string, { type } | { boost, fielddata, index, null_value, type } | { type, enabled, null_value, boost, coerce, script, on_script_error, ignore_malformed, time_series_metric, analyzer, eager_global_ordinals, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, term_vector, format, precision_step, locale } | { relations, eager_global_ordinals, type } | { boost, eager_global_ordinals, index, index_options, normalizer, norms, null_value, split_queries_on_whitespace, type } | { type, fields, meta, copy_to } | { type } | { positive_score_impact, type } | { type } | { analyzer, index, index_options, max_shingle_size, norms, search_analyzer, search_quote_analyzer, term_vector, type } | { analyzer, boost, eager_global_ordinals, fielddata, fielddata_frequency_filter, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, term_vector, type } | { type } | { type } | { boost, format, ignore_malformed, index, null_value, precision_step, type } | { boost, fielddata, format, ignore_malformed, index, null_value, precision_step, locale, type } | { type, default_metric, metrics, time_series_metric } | { type, dims, similarity, index, index_options } | { type } | { boost, depth_limit, doc_values, eager_global_ordinals, index, index_options, null_value, similarity, split_queries_on_whitespace, type } | { enabled, include_in_parent, include_in_root, type } | { enabled, type } | { analyzer, contexts, max_input_length, preserve_position_increments, preserve_separators, search_analyzer, type } | { value, type } | { path, type } | { ignore_malformed, type } | { boost, index, ignore_malformed, null_value, on_script_error, script, type } | { type } | { analyzer, boost, index, null_value, enable_position_increments, type } | { ignore_malformed, ignore_z_value, null_value, type } | { coerce, ignore_malformed, ignore_z_value, orientation, strategy, type } | { ignore_malformed, ignore_z_value, null_value, type } | { coerce, ignore_malformed, ignore_z_value, orientation, type } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value, scaling_factor } | { type, null_value } | { type, null_value } | { format, type } | { type } | { type } | { type } | { type } | { type }>)*: Mapping for a field. For new fields, this mapping can include:
2543
2543
2544
2544
- Field name
2545
2545
- Field data type
@@ -2577,7 +2577,7 @@ client.indices.putSettings({ ... })
2577
2577
** *`index` (Optional, string | string[])*: List of data streams, indices, and aliases used to limit
2578
2578
the request. Supports wildcards (`*`). To target all data streams and
2579
2579
indices, omit this parameter or use `*` or `_all`.
2580
- ** *`settings` (Optional, { index, mode, routing_path, soft_deletes, sort, number_of_shards, number_of_replicas, number_of_routing_shards, check_on_startup, codec, routing_partition_size, load_fixed_bitset_filters_eagerly, hidden, auto_expand_replicas, merge, search, refresh_interval, max_result_window, max_inner_result_window, max_rescore_window, max_docvalue_fields_search, max_script_fields, max_ngram_diff, max_shingle_diff, blocks, max_refresh_listeners, analyze, highlight, max_terms_count, max_regex_length, routing, gc_deletes, default_pipeline, final_pipeline, lifecycle, provided_name, creation_date, creation_date_string, uuid, version, verified_before_close, format, max_slices_per_scroll, translog, query_string, priority, top_metrics_max_size, analysis, settings, time_series, shards, queries, similarity, mapping, indexing.slowlog, indexing_pressure, store })*
2580
+ ** *`settings` (Optional, { index, mode, routing_path, soft_deletes, sort, number_of_shards, number_of_replicas, number_of_routing_shards, check_on_startup, codec, routing_partition_size, load_fixed_bitset_filters_eagerly, hidden, auto_expand_replicas, merge, search, refresh_interval, max_result_window, max_inner_result_window, max_rescore_window, max_docvalue_fields_search, max_script_fields, max_ngram_diff, max_shingle_diff, blocks, max_refresh_listeners, analyze, highlight, max_terms_count, max_regex_length, routing, gc_deletes, default_pipeline, final_pipeline, lifecycle, provided_name, creation_date, creation_date_string, uuid, version, verified_before_close, format, max_slices_per_scroll, translog, query_string, priority, top_metrics_max_size, analysis, settings, time_series, queries, similarity, mapping, indexing.slowlog, indexing_pressure, store })*
2581
2581
** *`allow_no_indices` (Optional, boolean)*: If `false`, the request returns an error if any wildcard expression, index
2582
2582
alias, or `_all` value targets only missing or closed indices. This
2583
2583
behavior applies even if the request targets other open indices. For
@@ -2600,7 +2600,7 @@ error.
2600
2600
==== put_template
2601
2601
Creates or updates an index template.
2602
2602
2603
- {ref}/indices-templates.html[Endpoint documentation]
2603
+ {ref}/indices-templates-v1 .html[Endpoint documentation]
2604
2604
[source,ts]
2605
2605
----
2606
2606
client.indices.putTemplate({ name })
@@ -2718,7 +2718,7 @@ Set to all or any positive integer up to the total number of shards in the index
2718
2718
==== simulate_index_template
2719
2719
Simulate matching the given index name against the index templates in the system
2720
2720
2721
- {ref}/indices-templates .html[Endpoint documentation]
2721
+ {ref}/indices-simulate-index .html[Endpoint documentation]
2722
2722
[source,ts]
2723
2723
----
2724
2724
client.indices.simulateIndexTemplate({ name })
@@ -2761,7 +2761,7 @@ before the timeout expires, the request fails and returns an error.
2761
2761
==== simulate_template
2762
2762
Simulate resolving the given template name or body
2763
2763
2764
- {ref}/indices-templates .html[Endpoint documentation]
2764
+ {ref}/indices-simulate-template .html[Endpoint documentation]
2765
2765
[source,ts]
2766
2766
----
2767
2767
client.indices.simulateTemplate({ ... })
@@ -2930,7 +2930,7 @@ client.ingest.simulate({ ... })
2930
2930
** *`id` (Optional, string)*: Pipeline to test.
2931
2931
If you don’t specify a `pipeline` in the request body, this parameter is required.
2932
2932
** *`docs` (Optional, { _id, _index, _source }[])*: Sample documents to test in the pipeline.
2933
- ** *`pipeline` (Optional, { description, on_failure, processors, version })*: Pipeline to test.
2933
+ ** *`pipeline` (Optional, { description, on_failure, processors, version, _meta })*: Pipeline to test.
2934
2934
If you don’t specify the `pipeline` request path parameter, this parameter is required.
2935
2935
If you specify both this and the request path parameter, the API only uses the request path parameter.
2936
2936
** *`verbose` (Optional, boolean)*: If `true`, the response includes output data for each processor in the executed pipeline.
@@ -2980,14 +2980,14 @@ Retrieves Logstash Pipelines used by Central Management
2980
2980
{ref}/logstash-api-get-pipeline.html[Endpoint documentation]
2981
2981
[source,ts]
2982
2982
----
2983
- client.logstash.getPipeline({ id })
2983
+ client.logstash.getPipeline({ ... })
2984
2984
----
2985
2985
2986
2986
[discrete]
2987
2987
==== Arguments
2988
2988
2989
2989
* *Request (object):*
2990
- ** *`id` (string | string[])*: List of pipeline identifiers.
2990
+ ** *`id` (Optional, string | string[])*: List of pipeline identifiers.
2991
2991
2992
2992
[discrete]
2993
2993
==== put_pipeline
@@ -3004,7 +3004,7 @@ client.logstash.putPipeline({ id })
3004
3004
3005
3005
* *Request (object):*
3006
3006
** *`id` (string)*: Identifier for the pipeline.
3007
- ** *`pipeline` (Optional, { description, on_failure, processors, version })*
3007
+ ** *`pipeline` (Optional, { description, on_failure, processors, version, _meta })*
3008
3008
3009
3009
[discrete]
3010
3010
=== ml
@@ -4434,7 +4434,7 @@ client.queryRuleset.put({ ruleset_id, rules })
4434
4434
==== delete
4435
4435
Deletes a search application.
4436
4436
4437
- {ref}/put -search-application.html[Endpoint documentation]
4437
+ {ref}/delete -search-application.html[Endpoint documentation]
4438
4438
[source,ts]
4439
4439
----
4440
4440
client.searchApplication.delete({ name })
@@ -4710,6 +4710,7 @@ client.security.updateApiKey({ id })
4710
4710
** *`id` (string)*: The ID of the API key to update.
4711
4711
** *`role_descriptors` (Optional, Record<string, { cluster, indices, global, applications, metadata, run_as, transient_metadata }>)*: An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.
4712
4712
** *`metadata` (Optional, Record<string, User-defined value>)*: Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with _ are reserved for system usage.
4713
+ ** *`expiration` (Optional, string | -1 | 0)*: Expiration time for the API key.
4713
4714
4714
4715
[discrete]
4715
4716
=== sql
@@ -5000,6 +5001,8 @@ client.transform.deleteTransform({ transform_id })
5000
5001
** *`transform_id` (string)*: Identifier for the transform.
5001
5002
** *`force` (Optional, boolean)*: If this value is false, the transform must be stopped before it can be deleted. If true, the transform is
5002
5003
deleted regardless of its current state.
5004
+ ** *`delete_dest_index` (Optional, boolean)*: If this value is true, the destination index is deleted together with the transform. If false, the destination
5005
+ index will not be deleted
5003
5006
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
5004
5007
5005
5008
[discrete]
0 commit comments