Adding ignore_unavailable param. (#61368) (#61370)

This commit is contained in:
Adam Locke 2020-08-20 10:10:16 -04:00 committed by GitHub
parent 62baca74ed
commit 751cee0042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -100,6 +100,12 @@ Name of the snapshot to restore.
[[restore-snapshot-api-request-body]]
==== {api-request-body-title}
`ignore_unavailable`::
(Optional, boolean)
If `false`, the request returns an error for any data stream or index that is missing or closed. Defaults to `false`.
+
If `true`, the request ignores data streams and indices in `indices` that are missing or closed.
`ignore_index_settings`::
(Optional, string)
A comma-separated list of index settings that should not be restored from a snapshot.