Skip to content

Commit d04a890

Browse files
Remove index.number_of_shards setting from clone example
This setting is allowed only if the number of shards matches that of the source, and that's the behaviour anyway, so it is needlessly confusing to include it here.
1 parent 80c8033 commit d04a890

File tree

5 files changed

+15
-49
lines changed

5 files changed

+15
-49
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 13 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/Stats.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ export class IndexingStats {
159159
index_failed: long
160160
types?: Dictionary<string, IndexingStats>
161161
write_load?: double
162-
recent_write_load?: double
163-
peak_write_load?: double
164162
}
165163

166164
export class MergesStats {

specification/indices/clone/examples/request/indicesCloneRequestExample1.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ summary: Clone an existing index.
33
description: >
44
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.
55
# type: request
6-
value:
7-
"{\n \"settings\": {\n \"index.number_of_shards\": 5\n },\n \"aliases\"\
8-
: {\n \"my_search_indices\": {}\n }\n}"
6+
value: "{\n \"aliases\": {\n \"my_search_indices\": {}\n }\n}"

0 commit comments

Comments
 (0)