diff --git a/_opensearch/rest-api/cluster-settings.md b/_opensearch/rest-api/cluster-settings.md index cc0f3a99..e8780010 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 - } - } + "persistent":{ + "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 - } - } + "persistent":{ + "cluster.max_shards_per_node": 500 + } } ``` @@ -74,12 +70,12 @@ For more information about transient settings, persistent settings, and preceden ```json { - "acknowledged": true, - "persistent": { - "cluster": { - "max_shards_per_node": "500" - } - }, - "transient": {} + "acknowledged":true, + "persistent":{ + "cluster":{ + "max_shards_per_node":"500" + } + }, + "transient":{} } ```