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
Copy file name to clipboardExpand all lines: docs/reference.asciidoc
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -862,7 +862,6 @@ client.getSource({ id, index })
862
862
** *`_source` (Optional, boolean | string | string[])*: Indicates whether to return the `_source` field (`true` or `false`) or lists the fields to return.
863
863
** *`_source_excludes` (Optional, string | string[])*: A list of source fields to exclude in the response.
864
864
** *`_source_includes` (Optional, string | string[])*: A list of source fields to include in the response.
865
-
** *`stored_fields` (Optional, string | string[])*: A list of stored fields to return as part of a hit.
866
865
** *`version` (Optional, number)*: The version number for concurrency control. It must match the current version of the document for the request to succeed.
867
866
** *`version_type` (Optional, Enum("internal" | "external" | "external_gte" | "force"))*: The version type.
868
867
@@ -1048,6 +1047,7 @@ client.index({ index })
1048
1047
** *`version_type` (Optional, Enum("internal" | "external" | "external_gte" | "force"))*: The version type.
1049
1048
** *`wait_for_active_shards` (Optional, number | Enum("all" | "index-setting"))*: The number of shard copies that must be active before proceeding with the operation. You can set it to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`). The default value of `1` means it waits for each primary shard to be active.
1050
1049
** *`require_alias` (Optional, boolean)*: If `true`, the destination must be an index alias.
1050
+
** *`require_data_stream` (Optional, boolean)*: If `true`, the request's actions must target a data stream (existing or to be created).
** *`name` (Optional, string)*: List of component template names used to limit the request.
3846
3846
Wildcard (`*`) expressions are supported.
3847
3847
** *`flat_settings` (Optional, boolean)*: If `true`, returns settings in flat format.
3848
+
** *`settings_filter` (Optional, string | string[])*: Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys
3848
3849
** *`include_defaults` (Optional, boolean)*: Return all default configurations for the component template (default: false)
3849
3850
** *`local` (Optional, boolean)*: If `true`, the request retrieves information from the local node only.
3850
3851
If `false`, information is retrieved from the master node.
@@ -4040,6 +4041,7 @@ To unset `_meta`, replace the template without specifying this information.
4040
4041
** *`deprecated` (Optional, boolean)*: Marks this index template as deprecated. When creating or updating a non-deprecated index template
4041
4042
that uses deprecated components, Elasticsearch will emit a deprecation warning.
4042
4043
** *`create` (Optional, boolean)*: If `true`, this request cannot replace or update existing component templates.
4044
+
** *`cause` (Optional, string)*: User defined reason for create the component template.
4043
4045
** *`master_timeout` (Optional, string | -1 | 0)*: Period to wait for a connection to the master node.
4044
4046
If no response is received before the timeout expires, the request fails and returns an error.
4045
4047
@@ -8585,7 +8587,7 @@ The only valid task type for the model to perform is `text_embedding`.
** *`application` (Optional, string)*: The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.
13131
-
** *`priviledge` (Optional, string)*: The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.
13132
-
** *`username` (Optional, string | null)*
13133
13125
13134
13126
[discrete]
13135
13127
==== get_user_profile
@@ -13204,6 +13196,10 @@ It is not valid with other grant types.
13204
13196
If you specify the `password` grant type, this parameter is required.
13205
13197
It is not valid with other grant types.
13206
13198
** *`run_as` (Optional, string)*: The name of the user to be impersonated.
13199
+
** *`refresh` (Optional, Enum(true | false | "wait_for"))*: If 'true', Elasticsearch refreshes the affected shards to make this operation
13200
+
visible to search.
13201
+
If 'wait_for', it waits for a refresh to make this operation visible to search.
0 commit comments