blob: da7678202ed34de1f892a57902b51dd84f7d512c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
---
"Getting settings for aliases should return the real index as key":
- do:
indices.create:
index: test-index
body:
settings:
index:
refresh_interval: -1
number_of_shards: 2
number_of_replicas: 3
- do:
indices.put_alias:
index: test-index
name: test-alias
- do:
indices.get_settings:
index: test-alias
- match: { test-index.settings.index.number_of_replicas: "3" }
- match: { test-index.settings.index.number_of_shards: "2" }
- match: { test-index.settings.index.refresh_interval: "-1" }
|