Skip to content

Commit c6b5583

Browse files
committed
[API] Adds master_timeout to cat.aliases, indices.exists_aliases, indices.get_alias
1 parent 130dc6f commit c6b5583

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module Actions
3131
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3232
# @option arguments [Boolean] :v Verbose mode. Display column headers
3333
# @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)
34+
# @option arguments [Time] :master_timeout Timeout for waiting for new cluster state in case it is blocked
3435
# @option arguments [Hash] :headers Custom HTTP headers
3536
#
3637
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html

elasticsearch-api/lib/elasticsearch/api/actions/indices/exists_alias.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module Actions
2929
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
3030
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
3131
# @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)
32+
# @option arguments [Time] :master_timeout Timeout for waiting for new cluster state in case it is blocked
3233
# @option arguments [Hash] :headers Custom HTTP headers
3334
#
3435
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html

elasticsearch-api/lib/elasticsearch/api/actions/indices/get_alias.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module Actions
2929
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
3030
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
3131
# @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)
32+
# @option arguments [Time] :master_timeout Timeout for waiting for new cluster state in case it is blocked
3233
# @option arguments [Hash] :headers Custom HTTP headers
3334
#
3435
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html

0 commit comments

Comments
 (0)