diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 9387277b74..7a1495588e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -126852,7 +126852,7 @@ "indicesCloneRequestExample1": { "summary": "Clone an existing index.", "description": "Clone `my_source_index` into a new index called `my_target_index` with `POST /my_source_index/_clone/my_target_index`. The API accepts `settings` and `aliases` parameters for the target index.\n", - "value": "{\n \"settings\": {\n \"index.number_of_shards\": 5\n },\n \"aliases\": {\n \"my_search_indices\": {}\n }\n}" + "value": "{\n \"settings\": {\n \"index.refresh_interval\": \"2s\"\n },\n \"aliases\": {\n \"my_search_indices\": {}\n }\n}" } } } diff --git a/output/schema/schema.json b/output/schema/schema.json index d4ba4d467b..a189fb66db 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -150982,7 +150982,7 @@ "description": "Clone `my_source_index` into a new index called `my_target_index` with `POST /my_source_index/_clone/my_target_index`. The API accepts `settings` and `aliases` parameters for the target index.\n", "method_request": "POST /my_source_index/_clone/my_target_index", "summary": "Clone an existing index.", - "value": "{\n \"settings\": {\n \"index.number_of_shards\": 5\n },\n \"aliases\": {\n \"my_search_indices\": {}\n }\n}" + "value": "{\n \"settings\": {\n \"index.refresh_interval\": \"2s\"\n },\n \"aliases\": {\n \"my_search_indices\": {}\n }\n}" } }, "inherits": { diff --git a/specification/indices/clone/examples/request/indicesCloneRequestExample1.yaml b/specification/indices/clone/examples/request/indicesCloneRequestExample1.yaml index 69aac20311..591a4efe6f 100644 --- a/specification/indices/clone/examples/request/indicesCloneRequestExample1.yaml +++ b/specification/indices/clone/examples/request/indicesCloneRequestExample1.yaml @@ -8,7 +8,7 @@ value: "{ \ \"settings\": { - \ \"index.number_of_shards\": 5 + \ \"index.refresh_interval\": \"2s\" \ },