Skip to content

Commit 37651e9

Browse files
committed
Updated percentiles generated by t-digest 3.3.
Signed-off-by: dblock <[email protected]>
1 parent 564aa43 commit 37651e9

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/180_percentiles_tdigest_metric.yml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,23 @@ setup:
6363

6464
- match: { aggregations.percentiles_int.values.1\.0: 1.0 }
6565
- match: { aggregations.percentiles_int.values.5\.0: 1.0 }
66-
- match: { aggregations.percentiles_int.values.25\.0: 26.0 }
67-
- match: { aggregations.percentiles_int.values.50\.0: 76.0 }
68-
- match: { aggregations.percentiles_int.values.75\.0: 126.0 }
66+
- match: { aggregations.percentiles_int.values.25\.0: 51.0 }
67+
- match: { aggregations.percentiles_int.values.50\.0: 101.0 }
68+
- match: { aggregations.percentiles_int.values.75\.0: 151.0 }
6969
- match: { aggregations.percentiles_int.values.95\.0: 151.0 }
7070
- match: { aggregations.percentiles_int.values.99\.0: 151.0 }
7171

7272
- match: { aggregations.percentiles_double.values.1\.0: 1.0 }
7373
- match: { aggregations.percentiles_double.values.5\.0: 1.0 }
74-
- match: { aggregations.percentiles_double.values.25\.0: 26.0 }
75-
- match: { aggregations.percentiles_double.values.50\.0: 76.0 }
76-
- match: { aggregations.percentiles_double.values.75\.0: 126.0 }
74+
- match: { aggregations.percentiles_double.values.25\.0: 51.0 }
75+
- match: { aggregations.percentiles_double.values.50\.0: 101.0 }
76+
- match: { aggregations.percentiles_double.values.75\.0: 151.0 }
7777
- match: { aggregations.percentiles_double.values.95\.0: 151.0 }
7878
- match: { aggregations.percentiles_double.values.99\.0: 151.0 }
7979

80+
---
81+
"Compression test":
82+
8083
- do:
8184
search:
8285
rest_total_hits_as_int: true
@@ -135,17 +138,17 @@ setup:
135138

136139
- match: { aggregations.percentiles_int.values.1\.0: 1.0 }
137140
- match: { aggregations.percentiles_int.values.5\.0: 1.0 }
138-
- match: { aggregations.percentiles_int.values.25\.0: 26.0 }
139-
- match: { aggregations.percentiles_int.values.50\.0: 76.0 }
140-
- match: { aggregations.percentiles_int.values.75\.0: 126.0 }
141+
- match: { aggregations.percentiles_int.values.25\.0: 51.0 }
142+
- match: { aggregations.percentiles_int.values.50\.0: 101.0 }
143+
- match: { aggregations.percentiles_int.values.75\.0: 151.0 }
141144
- match: { aggregations.percentiles_int.values.95\.0: 151.0 }
142145
- match: { aggregations.percentiles_int.values.99\.0: 151.0 }
143146

144147
- match: { aggregations.percentiles_double.values.1\.0: 1.0 }
145148
- match: { aggregations.percentiles_double.values.5\.0: 1.0 }
146-
- match: { aggregations.percentiles_double.values.25\.0: 26.0 }
147-
- match: { aggregations.percentiles_double.values.50\.0: 76.0 }
148-
- match: { aggregations.percentiles_double.values.75\.0: 126.0 }
149+
- match: { aggregations.percentiles_double.values.25\.0: 51.0 }
150+
- match: { aggregations.percentiles_double.values.50\.0: 101.0 }
151+
- match: { aggregations.percentiles_double.values.75\.0: 151.0 }
149152
- match: { aggregations.percentiles_double.values.95\.0: 151.0 }
150153
- match: { aggregations.percentiles_double.values.99\.0: 151.0 }
151154

@@ -252,9 +255,9 @@ setup:
252255

253256
- match: { aggregations.percentiles_int.values.1\.0: 1.0 }
254257
- match: { aggregations.percentiles_int.values.5\.0: 1.0 }
255-
- match: { aggregations.percentiles_int.values.25\.0: 26.0 }
256-
- match: { aggregations.percentiles_int.values.50\.0: 76.0 }
257-
- match: { aggregations.percentiles_int.values.75\.0: 126.0 }
258+
- match: { aggregations.percentiles_int.values.25\.0: 51.0 }
259+
- match: { aggregations.percentiles_int.values.50\.0: 101.0 }
260+
- match: { aggregations.percentiles_int.values.75\.0: 151.0 }
258261
- match: { aggregations.percentiles_int.values.95\.0: 151.0 }
259262
- match: { aggregations.percentiles_int.values.99\.0: 151.0 }
260263

@@ -338,12 +341,12 @@ setup:
338341
- length: { hits.hits: 4 }
339342

340343
- match: { aggregations.percentiles_int.values.5\.0: 1.0 }
341-
- match: { aggregations.percentiles_int.values.25\.0: 26.0 }
342-
- match: { aggregations.percentiles_int.values.50\.0: 76.0 }
344+
- match: { aggregations.percentiles_int.values.25\.0: 51.0 }
345+
- match: { aggregations.percentiles_int.values.50\.0: 101.0 }
343346

344347
- match: { aggregations.percentiles_double.values.5\.0: 1.0 }
345-
- match: { aggregations.percentiles_double.values.25\.0: 26.0 }
346-
- match: { aggregations.percentiles_double.values.50\.0: 76.0 }
348+
- match: { aggregations.percentiles_double.values.25\.0: 51.0 }
349+
- match: { aggregations.percentiles_double.values.50\.0: 101.0 }
347350

348351
---
349352
"Non-keyed test":
@@ -366,6 +369,6 @@ setup:
366369
- match: { aggregations.percentiles_int.values.0.key: 5.0 }
367370
- match: { aggregations.percentiles_int.values.0.value: 1.0 }
368371
- match: { aggregations.percentiles_int.values.1.key: 25.0 }
369-
- match: { aggregations.percentiles_int.values.1.value: 26.0 }
372+
- match: { aggregations.percentiles_int.values.1.value: 51.0 }
370373
- match: { aggregations.percentiles_int.values.2.key: 50.0 }
371-
- match: { aggregations.percentiles_int.values.2.value: 76.0 }
374+
- match: { aggregations.percentiles_int.values.2.value: 101.0 }

0 commit comments

Comments
 (0)