diff --git a/_opensearch/rest-api/cluster-settings.md b/_opensearch/rest-api/cluster-settings.md index cc0f3a99..bfa5498b 100644 --- a/_opensearch/rest-api/cluster-settings.md +++ b/_opensearch/rest-api/cluster-settings.md @@ -21,11 +21,9 @@ GET _cluster/settings?include_defaults=true ```json PUT _cluster/settings { - "persistent": { - "action": { - "auto_create_index": false - } - } + "transient":{ + "action.auto_create_index": false + } } ``` @@ -59,11 +57,9 @@ For a PUT operation, the request body must contain `transient` or `persistent`, ```json PUT _cluster/settings { - "persistent": { - "cluster": { - "max_shards_per_node": 500 - } - } + "transient":{ + "cluster.max_shards_per_node": 500 + } } ``` @@ -74,12 +70,14 @@ For more information about transient settings, persistent settings, and preceden ```json { - "acknowledged": true, - "persistent": { - "cluster": { - "max_shards_per_node": "500" - } - }, - "transient": {} + "acknowledged":true, + "persistent":{ + + }, + "transient":{ + "cluster":{ + "max_shards_per_node":"500" + } + } } ```