|
|
@@ -25,17 +25,17 @@
|
|
|
template: test-*
|
|
|
aliases:
|
|
|
test_alias: {}
|
|
|
- test_blias: {routing: b}
|
|
|
- test_clias: {filter: {term :{user : kimchy}}}
|
|
|
+ test_blias: { routing: b }
|
|
|
+ test_clias: { filter: { term: { user: kimchy }}}
|
|
|
|
|
|
- do:
|
|
|
indices.get_template:
|
|
|
name: test
|
|
|
|
|
|
- - match: {test.template: "test-*"}
|
|
|
- - length: {test.aliases: 3}
|
|
|
+ - match: { test.template: "test-*" }
|
|
|
+ - length: { test.aliases: 3 }
|
|
|
- is_true: test.aliases.test_alias
|
|
|
- - match: {test.aliases.test_blias.index_routing: "b"}
|
|
|
- - match: {test.aliases.test_blias.search_routing: "b"}
|
|
|
- - match: {test.aliases.test_clias.filter.term.user: "kimchy"}
|
|
|
+ - match: { test.aliases.test_blias.index_routing: "b" }
|
|
|
+ - match: { test.aliases.test_blias.search_routing: "b" }
|
|
|
+ - match: { test.aliases.test_clias.filter.term.user: "kimchy" }
|
|
|
|