Skip to content

Commit 4189056

Browse files
committed
[API] Adds ignore_unavailable and allow_no_indices to indices.resolve_index
1 parent b16c303 commit 4189056

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ module Actions
2626
#
2727
# @option arguments [List] :name A comma-separated list of names or wildcard expressions
2828
# @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
29+
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
30+
# @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)
2931
# @option arguments [Hash] :headers Custom HTTP headers
3032
#
3133
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-resolve-index-api.html

0 commit comments

Comments
 (0)