Skip to content

Commit 09108a1

Browse files
committed
More needed for two shard randomization
1 parent 68c138c commit 09108a1

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/240_max_buckets.yml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ setup:
1717
index: test
1818
type: doc
1919
id: 1
20-
body: { "date": "2014-03-03T00:00:00", "keyword": "foo" }
20+
body: { "date": "2014-03-03T00:00:00", "keyword": "dgx" }
2121

2222
- do:
2323
index:
2424
index: test
2525
type: doc
2626
id: 2
27-
body: { "date": "2015-03-03T00:00:00", "keyword": "bar" }
27+
body: { "date": "2015-03-03T00:00:00", "keyword": "dfs" }
2828

2929
- do:
3030
index:
@@ -38,7 +38,36 @@ setup:
3838
index: test
3939
type: doc
4040
id: 4
41-
body: { "date": "2017-03-03T00:00:00" }
41+
body: { "date": "2017-03-03T00:00:00", "keyword": "foo" }
42+
43+
- do:
44+
index:
45+
index: test
46+
type: doc
47+
id: 5
48+
body: { "date": "2018-03-03T00:00:00", "keyword": "bar" }
49+
50+
- do:
51+
index:
52+
index: test
53+
type: doc
54+
id: 6
55+
body: { "date": "2019-03-03T00:00:00", "keyword": "baz" }
56+
57+
- do:
58+
index:
59+
index: test
60+
type: doc
61+
id: 7
62+
body: { "date": "2020-03-03T00:00:00", "keyword": "qux" }
63+
64+
- do:
65+
index:
66+
index: test
67+
type: doc
68+
id: 8
69+
body: { "date": "2021-03-03T00:00:00", "keyword": "quux" }
70+
4271

4372
- do:
4473
indices.refresh:

0 commit comments

Comments
 (0)