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,11 +21,9 @@ 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,11 +57,9 @@ 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 }
}
}
} }
``` ```
@ -74,12 +70,14 @@ For more information about transient settings, persistent settings, and preceden
```json ```json
{ {
"acknowledged": true, "acknowledged":true,
"persistent": { "persistent":{
"cluster": {
"max_shards_per_node": "500" },
} "transient":{
}, "cluster":{
"transient": {} "max_shards_per_node":"500"
}
}
} }
``` ```