-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix_uploaded_metadata
Signed-off-by: Sooraj Sinha <81695996+soosinha@users.noreply.github.com>
- Loading branch information
Showing
12 changed files
with
133 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...rc/main/resources/rest-api-spec/test/indices.get_settings/40_number_of_routing_shards.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
setup: | ||
- do: | ||
indices.create: | ||
body: | ||
settings: | ||
index: | ||
number_of_routing_shards: 4 | ||
number_of_shards: 2 | ||
number_of_replicas: 1 | ||
index: test-index | ||
|
||
- do: | ||
indices.create: | ||
body: | ||
settings: | ||
index: | ||
number_of_shards: 2 | ||
number_of_replicas: 1 | ||
index: test-index1 | ||
|
||
--- | ||
Test retrieval of number_routing_shards settings: | ||
- skip: | ||
version: " - 2.99.99" | ||
reason: "introduced in 3.0.0" # TODO: change it to 2.18.0 after backport to 2.x branch | ||
- do: | ||
indices.get_settings: | ||
flat_settings: true | ||
index: test-index | ||
# show `index.number_of_routing_shards` if it was explicitly set when creating | ||
- match: | ||
test-index.settings.index\.number_of_routing_shards: "4" | ||
|
||
- do: | ||
indices.get_settings: | ||
flat_settings: true | ||
index: test-index1 | ||
# do not show `index.number_of_routing_shards` if it was not explicitly set when creating | ||
- match: | ||
test-index1.settings.index\.number_of_routing_shards: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters