Skip to content

Commit 02cc744

Browse files
committed
[API] Updates cluster.get_component_template, open_point_in_time
cluster.get_component_template: * Adds [Boolean] :flat_settings return settings in flat format (default: false) * Adds [String] :settings_filter, filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys open_point_in_time: * Adds [Number] :max_concurrent_shard_requests, the number of concurrent shard requests per node executed concurrently when opening this point-in-time.
1 parent 1f507ea commit 02cc744

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ module Actions
2828
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
2929
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
3030
# @option arguments [Boolean] :include_defaults Return all default configurations for the component template (default: false)
31+
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
32+
# @option arguments [String] :settings_filter Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys
3133
# @option arguments [Hash] :headers Custom HTTP headers
3234
#
3335
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.18/indices-component-template.html

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module Actions
3030
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
3131
# @option arguments [String] :keep_alive Specific the time to live for the point in time (*Required*)
3232
# @option arguments [Boolean] :allow_partial_search_results Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)
33+
# @option arguments [Number] :max_concurrent_shard_requests The number of concurrent shard requests per node executed concurrently when opening this point-in-time. This value should be used to limit the impact of opening the point-in-time on the cluster
3334
# @option arguments [Hash] :headers Custom HTTP headers
3435
# @option arguments [Hash] :body An index_filter specified with the Query DSL
3536
#

0 commit comments

Comments
 (0)