Browse Source

Add docs code example of include_aliases for snapshot restore (#55906)

Added an example of the `include_aliases` parameter to the code block for better visibility. Previously this was only mentioned at the end of the preceding paragraph, and was easily missed.
Brad Deam 5 years ago
parent
commit
9d44e0fd94
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/reference/snapshot-restore/restore-snapshot.asciidoc

+ 2 - 1
docs/reference/snapshot-restore/restore-snapshot.asciidoc

@@ -39,13 +39,14 @@ using regular expression that supports referencing the original text as
 explained
 http://docs.oracle.com/javase/6/docs/api/java/util/regex/Matcher.html#appendReplacement(java.lang.StringBuffer,%20java.lang.String)[here].
 Set `include_aliases` to `false` to prevent aliases from being restored together
-with associated indices
+with associated indices.
 
 [source,console]
 -----------------------------------
 POST /_snapshot/my_backup/snapshot_1/_restore
 {
   "indices": "index_1,index_2",
+  "include_aliases": false,
   "ignore_unavailable": true,
   "include_global_state": true,
   "rename_pattern": "index_(.+)",