mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
This fix ensures that calls to the GET alias/mappings/settings/warmers APIs return the aliases/mappings/settings/warmers object even if there is no content within them.. This make them consistent with the GET Index API docs and the breaking changes in 1.4 docs Closes #9148
20 lines
304 B
YAML
20 lines
304 B
YAML
---
|
|
setup:
|
|
|
|
- do:
|
|
indices.create:
|
|
index: test_index
|
|
|
|
- do:
|
|
indices.create:
|
|
index: test_index_2
|
|
|
|
---
|
|
"Check empty aliases when getting all aliases via /_alias":
|
|
|
|
- do:
|
|
indices.get_alias: {}
|
|
|
|
- match: {test_index.aliases: {}}
|
|
- match: {test_index_2.aliases: {}}
|