Skip to content

Commit

Permalink
Merge pull request #1026 from untergeek/doc/1015
Browse files Browse the repository at this point in the history
Fix documentation for extra_settings in restore
  • Loading branch information
untergeek committed Aug 7, 2017
2 parents a0a2485 + a0ff3f0 commit 8afb90a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/asciidoc/actions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -861,8 +861,7 @@ actions:
# If indices is blank, all indices in the snapshot will be restored
indices:
extra_settings:
settings:
number_of_shards: 1
index_settings:
number_of_replicas: 0
mappings:
type1:
Expand Down
5 changes: 3 additions & 2 deletions docs/asciidoc/options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ options:

=== <<restore,restore>>

{ref}/current/modules-snapshots.html#_changing_index_settings_during_restore[Elasticsearch Documentation]

[source,yaml]
-------------
actions:
Expand All @@ -276,8 +278,7 @@ actions:
# If indices is blank, all indices in the snapshot will be restored
indices:
extra_settings:
settings:
number_of_shards: 1
index_settings:
number_of_replicas: 0
mappings:
type1:
Expand Down

0 comments on commit 8afb90a

Please sign in to comment.