You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2792,6 +2802,16 @@ local cluster state. If `false` the list of selected nodes are computed
2792
2802
from the cluster state of the master node. In both cases the coordinating
2793
2803
node will send requests for further information to each selected node.
2794
2804
- **`master_timeout` (Optional, string \| -1 \| 0)**: Period to wait for a connection to the master node.
2805
+
- **`expand_wildcards` (Optional, Enum("all" \| "open" \| "closed" \| "hidden" \| "none") \| Enum("all" \| "open" \| "closed" \| "hidden" \| "none")[])**: Type of index that wildcard expressions can match. If the request can target data streams, this argument
2806
+
determines whether wildcard expressions match hidden data streams. Supports a list of values,
2807
+
such as open,hidden.
2808
+
- **`allow_no_indices` (Optional, boolean)**: If false, the request returns an error if any wildcard expression, index alias, or _all value targets only
2809
+
missing or closed indices. This behavior applies even if the request targets other open indices. For example,
2810
+
a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.
2811
+
- **`ignore_throttled` (Optional, boolean)**: If true, concrete, expanded or aliased indices are ignored when frozen.
2812
+
- **`ignore_unavailable` (Optional, boolean)**: If true, missing or closed indices are not included in the response.
2813
+
- **`allow_closed` (Optional, boolean)**: If true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour
2814
+
of throwing an exception if index pattern matches closed indices
2795
2815
2796
2816
## client.cat.shards [_cat.shards]
2797
2817
Get shard information.
@@ -5701,13 +5721,18 @@ To use the API, this parameter must be set to `true`.
Aggregate a time series (TSDS) index and store pre-computed statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`) for each metric field grouped by a configured time interval.
5724
+
Downsamples a time series (TSDS) index and reduces its size by keeping the last value or by pre-aggregating metrics:
5725
+
5726
+
- When running in `aggregate` mode, it pre-calculates and stores statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`)
5727
+
for each metric field grouped by a configured time interval and their dimensions.
5728
+
- When running in `last_value` mode, it keeps the last value for each metric in the configured interval and their dimensions.
5729
+
5705
5730
For example, a TSDS index that contains metrics sampled every 10 seconds can be downsampled to an hourly index.
5706
5731
All documents within an hour interval are summarized and stored as a single document in the downsample index.
5707
5732
5708
5733
NOTE: Only indices in a time series data stream are supported.
5709
5734
Neither field nor document level security can be defined on the source index.
5710
-
The source index must be readonly (`index.blocks.write: true`).
5735
+
The source index must be read-only (`index.blocks.write: true`).
@@ -6489,7 +6524,7 @@ To target all data streams use `*` or `_all`.
6489
6524
- **`data_retention` (Optional, string \| -1 \| 0)**: If defined, every document added to this data stream will be stored at least for this time frame.
6490
6525
Any time after this duration the document could be deleted.
6491
6526
When empty, every document in this data stream will be stored indefinitely.
6492
-
- **`downsampling` (Optional, { rounds })**: The downsampling configuration to execute for the managed backing index after rollover.
6527
+
- **`downsampling` (Optional, { after, fixed_interval }[])**: The downsampling configuration to execute for the managed backing index after rollover.
6493
6528
- **`enabled` (Optional, boolean)**: If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle
6494
6529
that's disabled (enabled: `false`) will have no effect on the data stream.
6495
6530
- **`expand_wildcards` (Optional, Enum("all" \| "open" \| "closed" \| "hidden" \| "none") \| Enum("all" \| "open" \| "closed" \| "hidden" \| "none")[])**: Type of data stream that wildcard patterns can match.
- **`task_settings` (Optional, User-defined value)**: Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
7572
7607
- **`timeout` (Optional, string \| -1 \| 0)**: Specifies the amount of time to wait for the inference request to complete.
- **`inference_id` (string)**: The inference identifier.
7587
7622
- **`task_type` (Optional, Enum("sparse_embedding" \| "text_embedding" \| "rerank" \| "completion" \| "chat_completion"))**: The task type
7588
-
- **`dry_run` (Optional, boolean)**: When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned.
7623
+
- **`dry_run` (Optional, boolean)**: When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint.
7589
7624
- **`force` (Optional, boolean)**: When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields.
The only valid task type for the model to perform is `completion`.
7802
7837
- **`anthropic_inference_id` (string)**: The unique identifier of the inference endpoint.
7803
7838
- **`service` (Enum("anthropic"))**: The type of service supported for the specified task type. In this case, `anthropic`.
7804
-
- **`service_settings` ({ api_key, model_id, rate_limit })**: Settings used to install the inference model. These settings are specific to the `watsonxai` service.
7839
+
- **`service_settings` ({ api_key, model_id, rate_limit })**: Settings used to install the inference model. These settings are specific to the `anthropic` service.
- **`task_type` (Enum("completion" \| "rerank" \| "text_embedding"))**: The type of the inference task that the model will perform.
7825
7860
- **`azureaistudio_inference_id` (string)**: The unique identifier of the inference endpoint.
7826
7861
- **`service` (Enum("azureaistudio"))**: The type of service supported for the specified task type. In this case, `azureaistudio`.
7827
-
- **`service_settings` ({ api_key, endpoint_type, target, provider, rate_limit })**: Settings used to install the inference model. These settings are specific to the `openai` service.
7862
+
- **`service_settings` ({ api_key, endpoint_type, target, provider, rate_limit })**: Settings used to install the inference model. These settings are specific to the `azureaistudio` service.
- **`task_settings` (Optional, User-defined value)**: Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
8350
8385
- **`timeout` (Optional, string \| -1 \| 0)**: Specifies the amount of time to wait for the inference request to complete.
- **`task_settings` (Optional, User-defined value)**: Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
8376
8411
- **`timeout` (Optional, string \| -1 \| 0)**: The amount of time to wait for the inference request to complete.
@@ -8400,7 +8435,7 @@ Accepted values depend on the configured inference service, refer to the relevan
8400
8435
8401
8436
> info
8402
8437
> The `input_type` parameter specified on the root level of the request body will take precedence over the `input_type` parameter specified in `task_settings`.
- **`task_settings` (Optional, User-defined value)**: Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
8404
8439
- **`timeout` (Optional, string \| -1 \| 0)**: Specifies the amount of time to wait for the inference request to complete.
8405
8440
8406
8441
## client.inference.update [_inference.update]
@@ -12996,7 +13031,8 @@ It must not be negative.
12996
13031
By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.
12997
13032
To page through more hits, use the `search_after` parameter.
returnawaitthis.transport.request({ path, method, querystring, body, meta },options)
519
+
}
520
+
454
521
/**
455
522
* Get component templates. Get information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get component template API.
456
523
* @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-component-templates | Elasticsearch API documentation}
@@ -1434,7 +1501,12 @@ export default class Cat {
1434
1501
'h',
1435
1502
's',
1436
1503
'local',
1437
-
'master_timeout'
1504
+
'master_timeout',
1505
+
'expand_wildcards',
1506
+
'allow_no_indices',
1507
+
'ignore_throttled',
1508
+
'ignore_unavailable',
1509
+
'allow_closed'
1438
1510
]
1439
1511
}
1440
1512
returnawaitthis.transport.request({ path, method, querystring, body, meta },options)
0 commit comments