Docs: Document action.replication_type setting

Document action.replication_type setting

Closes #8290
This commit is contained in:
astefan 2014-10-30 15:08:42 +02:00 committed by Clinton Gormley
parent 5bd720b259
commit 4049154dbc
1 changed files with 5 additions and 0 deletions

View File

@ -359,6 +359,11 @@ place in the background, set the `replication` parameter to `async`.
When asynchronous replication is used, the index operation will return When asynchronous replication is used, the index operation will return
as soon as the operation succeeds on the primary shard. as soon as the operation succeeds on the primary shard.
The default value for the `replication` setting is `sync` and this default can
be overridden on a node-by-node basis using the `action.replication_type`
setting. Valid values for replication type are `sync` and `async`. To alter this
behavior per-operation, the `replication` request parameter can be used.
[float] [float]
[[index-refresh]] [[index-refresh]]
=== Refresh === Refresh