Skip to content

Commit dbcbd7b

Browse files
committed
[API] Updates source code to commit dc3690c592d7b3d1c8d238119e4fac01c6f91c90. Changes:
* cluster.get_component_template - Adds [String] `:settings_filter` Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys. * cluster.put_component_template - Adds [String] `:cause` User defined reason for create the component template. Server default: api. * get, search - Add [Boolean] `:_source_exclude_vectors` Whether vectors should be excluded from _source, get_source - removes stored_fields parameter * index - Adds [Boolean] `:require_data_stream` If `true`, the request's actions must target a data stream (existing or to be created). * license.post_start_trial - [String] `type_query_string` parameter renamed to `type`, The type of trial license to generate (default: "trial")
1 parent 95863d5 commit dbcbd7b

File tree

15 files changed

+34
-23
lines changed

15 files changed

+34
-23
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/cat/shards.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ module Actions
3232
# To target all data streams and indices, omit this parameter or use `*` or `_all`.
3333
# @option arguments [String] :bytes The unit used to display byte values.
3434
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
35-
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
35+
# @option arguments [String, Array<String>] :s A comma-separated list of column names or aliases that determines the sort order.
3636
# Sorting defaults to ascending and can be changed by setting `:asc`
3737
# or `:desc` as a suffix to the column name.
38-
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
39-
# @option arguments [String] :time Unit used to display time values.
38+
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node. Server default: 30s.
39+
# @option arguments [String] :time The unit used to display time values.
4040
# @option arguments [String] :format Specifies the format to return the columnar data in, can be set to
4141
# `text`, `json`, `cbor`, `yaml`, or `smile`. Server default: text.
4242
# @option arguments [Boolean] :help When set to `true` will output available columns. This option

elasticsearch-api/lib/elasticsearch/api/actions/cat/thread_pool.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ module Actions
3030
# @option arguments [String, Array<String>] :thread_pool_patterns A comma-separated list of thread pool names used to limit the request.
3131
# Accepts wildcard expressions.
3232
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
33-
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
33+
# @option arguments [String, Array<String>] :s A comma-separated list of column names or aliases that determines the sort order.
3434
# Sorting defaults to ascending and can be changed by setting `:asc`
3535
# or `:desc` as a suffix to the column name.
3636
# @option arguments [String] :time The unit used to display time values.
3737
# @option arguments [Boolean] :local If `true`, the request computes the list of selected nodes from the
3838
# local cluster state. If `false` the list of selected nodes are computed
3939
# from the cluster state of the master node. In both cases the coordinating
4040
# node will send requests for further information to each selected node.
41-
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
41+
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node. Server default: 30s.
4242
# @option arguments [String] :format Specifies the format to return the columnar data in, can be set to
4343
# `text`, `json`, `cbor`, `yaml`, or `smile`. Server default: text.
4444
# @option arguments [Boolean] :help When set to `true` will output available columns. This option

elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_component_template.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module Actions
2828
# @option arguments [String] :name Comma-separated list of component template names used to limit the request.
2929
# Wildcard (`*`) expressions are supported.
3030
# @option arguments [Boolean] :flat_settings If `true`, returns settings in flat format.
31+
# @option arguments [String, Array<String>] :settings_filter Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys
3132
# @option arguments [Boolean] :include_defaults Return all default configurations for the component template (default: false)
3233
# @option arguments [Boolean] :local If `true`, the request retrieves information from the local node only.
3334
# If `false`, information is retrieved from the master node.

elasticsearch-api/lib/elasticsearch/api/actions/cluster/put_component_template.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ module Actions
4343
# If you use Elastic Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.
4444
# If you don’t use Elastic Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API. (*Required*)
4545
# @option arguments [Boolean] :create If `true`, this request cannot replace or update existing component templates.
46+
# @option arguments [String] :cause User defined reason for create the component template. Server default: api.
4647
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
4748
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
4849
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors

elasticsearch-api/lib/elasticsearch/api/actions/get.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ module Actions
8888
# @option arguments [String, Array<String>] :_source_excludes A comma-separated list of source fields to exclude from the response.
8989
# You can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.
9090
# If the `_source` parameter is `false`, this parameter is ignored.
91+
# @option arguments [Boolean] :_source_exclude_vectors Whether vectors should be excluded from _source
9192
# @option arguments [String, Array<String>] :_source_includes A comma-separated list of source fields to include in the response.
9293
# If this parameter is specified, only these source fields are returned.
9394
# You can exclude fields from this subset using the `_source_excludes` query parameter.

elasticsearch-api/lib/elasticsearch/api/actions/get_source.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ module Actions
4646
# @option arguments [Boolean, String, Array<String>] :_source Indicates whether to return the `_source` field (`true` or `false`) or lists the fields to return.
4747
# @option arguments [String, Array<String>] :_source_excludes A comma-separated list of source fields to exclude in the response.
4848
# @option arguments [String, Array<String>] :_source_includes A comma-separated list of source fields to include in the response.
49-
# @option arguments [String, Array<String>] :stored_fields A comma-separated list of stored fields to return as part of a hit.
5049
# @option arguments [Integer] :version The version number for concurrency control.
5150
# It must match the current version of the document for the request to succeed.
5251
# @option arguments [String] :version_type The version type.

elasticsearch-api/lib/elasticsearch/api/actions/index.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ module Actions
138138
# You can set it to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
139139
# The default value of `1` means it waits for each primary shard to be active. Server default: 1.
140140
# @option arguments [Boolean] :require_alias If `true`, the destination must be an index alias.
141+
# @option arguments [Boolean] :require_data_stream If `true`, the request's actions must target a data stream (existing or to be created).
141142
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
142143
# when they occur.
143144
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response

elasticsearch-api/lib/elasticsearch/api/actions/inference/rerank.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Elasticsearch
2222
module API
2323
module Inference
2424
module Actions
25-
# Perform rereanking inference on the service
25+
# Perform reranking inference on the service
2626
#
2727
# @option arguments [String] :inference_id The unique identifier for the inference endpoint. (*Required*)
2828
# @option arguments [Time] :timeout The amount of time to wait for the inference request to complete. Server default: 30s.

elasticsearch-api/lib/elasticsearch/api/actions/ingest/get_ip_location_database.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ module Actions
2727
# @option arguments [String, Array] :id Comma-separated list of database configuration IDs to retrieve.
2828
# Wildcard (`*`) expressions are supported.
2929
# To get all database configurations, omit this parameter or use `*`.
30-
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
31-
# If no response is received before the timeout expires, the request fails and returns an error.
32-
# A value of `-1` indicates that the request should never time out. Server default: 30s.
3330
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
3431
# when they occur.
3532
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response

elasticsearch-api/lib/elasticsearch/api/actions/license/post_start_trial.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module Actions
2929
# To check the status of your trial, use the get trial status API.
3030
#
3131
# @option arguments [Boolean] :acknowledge whether the user has acknowledged acknowledge messages (default: false)
32-
# @option arguments [String] :type_query_string [TODO]
32+
# @option arguments [String] :type The type of trial license to generate (default: "trial")
3333
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
3434
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
3535
# when they occur.

0 commit comments

Comments
 (0)