@@ -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
@@ -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 })
@@ -5000,6 +5000,8 @@ client.transform.deleteTransform({ transform_id })
5000
5000
** *`transform_id` (string)*: Identifier for the transform.
5001
5001
** *`force` (Optional, boolean)*: If this value is false, the transform must be stopped before it can be deleted. If true, the transform is
5002
5002
deleted regardless of its current state.
5003
+ ** *`delete_dest_index` (Optional, boolean)*: If this value is true, the destination index is deleted together with the transform. If false, the destination
5004
+ index will not be deleted
5003
5005
** *`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
5006
5005
5007
[discrete]
0 commit comments