File tree 1 file changed +32
-3
lines changed
rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation
1 file changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ setup:
17
17
index : test
18
18
type : doc
19
19
id : 1
20
- body : { "date": "2014-03-03T00:00:00", "keyword": "foo " }
20
+ body : { "date": "2014-03-03T00:00:00", "keyword": "dgx " }
21
21
22
22
- do :
23
23
index :
24
24
index : test
25
25
type : doc
26
26
id : 2
27
- body : { "date": "2015-03-03T00:00:00", "keyword": "bar " }
27
+ body : { "date": "2015-03-03T00:00:00", "keyword": "dfs " }
28
28
29
29
- do :
30
30
index :
@@ -38,7 +38,36 @@ setup:
38
38
index : test
39
39
type : doc
40
40
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
+
42
71
43
72
- do :
44
73
indices.refresh :
You can’t perform that action at this time.
0 commit comments