Fix failing commands

Signed-off-by: Liz Snyder <elizabsn@amazon.com>
This commit is contained in:
Liz Snyder 2021-12-06 13:02:47 -08:00
parent b8a6d2e796
commit 9bfef645f5
1 changed files with 15 additions and 17 deletions

View File

@ -21,10 +21,8 @@ GET _cluster/settings?include_defaults=true
```json ```json
PUT _cluster/settings PUT _cluster/settings
{ {
"persistent": { "transient":{
"action": { "action.auto_create_index": false
"auto_create_index": false
}
} }
} }
``` ```
@ -59,10 +57,8 @@ For a PUT operation, the request body must contain `transient` or `persistent`,
```json ```json
PUT _cluster/settings PUT _cluster/settings
{ {
"persistent": { "transient":{
"cluster": { "cluster.max_shards_per_node": 500
"max_shards_per_node": 500
}
} }
} }
``` ```
@ -76,10 +72,12 @@ For more information about transient settings, persistent settings, and preceden
{ {
"acknowledged":true, "acknowledged":true,
"persistent":{ "persistent":{
},
"transient":{
"cluster":{ "cluster":{
"max_shards_per_node":"500" "max_shards_per_node":"500"
} }
}, }
"transient": {}
} }
``` ```