File tree Expand file tree Collapse file tree
rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,14 +20,52 @@ setup:
2020---
2121" Get all aliases via /_alias " :
2222
23+ - do :
24+ indices.create :
25+ index : test_index_3
26+
2327 - do :
2428 indices.get_alias : {}
2529
2630 - match : {test_index.aliases.test_alias: {}}
2731 - match : {test_index.aliases.test_blias: {}}
2832 - match : {test_index_2.aliases.test_alias: {}}
2933 - match : {test_index_2.aliases.test_blias: {}}
34+ - match : {test_index_3.aliases: {}}
35+
36+ ---
37+ " Get aliases via /_alias/_all " :
38+
39+ - do :
40+ indices.create :
41+ index : test_index_3
42+
43+ - do :
44+ indices.get_alias :
45+ name : _all
46+
47+ - match : {test_index.aliases.test_alias: {}}
48+ - match : {test_index.aliases.test_blias: {}}
49+ - match : {test_index_2.aliases.test_alias: {}}
50+ - match : {test_index_2.aliases.test_blias: {}}
51+ - is_false : test_index_3
52+
53+ ---
54+ " Get aliases via /_alias/* " :
3055
56+ - do :
57+ indices.create :
58+ index : test_index_3
59+
60+ - do :
61+ indices.get_alias :
62+ name : _all
63+
64+ - match : {test_index.aliases.test_alias: {}}
65+ - match : {test_index.aliases.test_blias: {}}
66+ - match : {test_index_2.aliases.test_alias: {}}
67+ - match : {test_index_2.aliases.test_blias: {}}
68+ - is_false : test_index_3
3169
3270---
3371" Get all aliases via /{index}/_alias/ " :
You can’t perform that action at this time.
0 commit comments