From 02ebe337583ad52a7b334b641f6602b143e8a662 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Tue, 11 Feb 2014 09:23:07 -0500 Subject: [PATCH] [DOCS] Fix typo in rename_pattern in snapshot/restore documentation --- docs/reference/modules/snapshots.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/modules/snapshots.asciidoc b/docs/reference/modules/snapshots.asciidoc index be28f030879..e0fd65882bf 100644 --- a/docs/reference/modules/snapshots.asciidoc +++ b/docs/reference/modules/snapshots.asciidoc @@ -194,7 +194,7 @@ $ curl -XPOST "localhost:9200/_snapshot/my_backup/snapshot_1/_restore" -d '{ "indices": "index_1,index_2", "ignore_unavailable": "true", "include_global_state": false, - "rename_pattern": "index_(.)+", + "rename_pattern": "index_(.+)", "rename_replacement": "restored_index_$1" }' -----------------------------------