keys in aggs percentiles need to be in quotes. (#26905)

Languages which are stronger typed will failed when comparing these results
This commit is contained in:
Nick Lang 2017-11-06 09:45:04 -07:00 committed by Luca Cavanna
parent a0bdedb143
commit 09294a9b9a
2 changed files with 153 additions and 153 deletions

View File

@ -67,22 +67,22 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_int.values:
1.0: 2.5
5.0: 8.500000000000002
25.0: 38.5
50.0: 76.0
75.0: 113.5
95.0: 143.49999999999997
99.0: 149.5
"1.0": 2.5
"5.0": 8.500000000000002
"25.0": 38.5
"50.0": 76.0
"75.0": 113.5
"95.0": 143.49999999999997
"99.0": 149.5
- match:
aggregations.percentiles_double.values:
1.0: 2.5
5.0: 8.500000000000002
25.0: 38.5
50.0: 76.0
75.0: 113.5
95.0: 143.49999999999997
99.0: 149.5
"1.0": 2.5
"5.0": 8.500000000000002
"25.0": 38.5
"50.0": 76.0
"75.0": 113.5
"95.0": 143.49999999999997
"99.0": 149.5
- do:
search:
@ -104,22 +104,22 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_int.values:
1.0: 2.5
5.0: 8.500000000000002
25.0: 38.5
50.0: 76.0
75.0: 113.5
95.0: 143.49999999999997
99.0: 149.5
"1.0": 2.5
"5.0": 8.500000000000002
"25.0": 38.5
"50.0": 76.0
"75.0": 113.5
"95.0": 143.49999999999997
"99.0": 149.5
- match:
aggregations.percentiles_double.values:
1.0: 2.5
5.0: 8.500000000000002
25.0: 38.5
50.0: 76.0
75.0: 113.5
95.0: 143.49999999999997
99.0: 149.5
"1.0": 2.5
"5.0": 8.500000000000002
"25.0": 38.5
"50.0": 76.0
"75.0": 113.5
"95.0": 143.49999999999997
"99.0": 149.5
---
"Only aggs test":
@ -140,22 +140,22 @@ setup:
- length: { hits.hits: 0 }
- match:
aggregations.percentiles_int.values:
1.0: 2.5
5.0: 8.500000000000002
25.0: 38.5
50.0: 76.0
75.0: 113.5
95.0: 143.49999999999997
99.0: 149.5
"1.0": 2.5
"5.0": 8.500000000000002
"25.0": 38.5
"50.0": 76.0
"75.0": 113.5
"95.0": 143.49999999999997
"99.0": 149.5
- match:
aggregations.percentiles_double.values:
1.0: 2.5
5.0: 8.500000000000002
25.0: 38.5
50.0: 76.0
75.0: 113.5
95.0: 143.49999999999997
99.0: 149.5
"1.0": 2.5
"5.0": 8.500000000000002
"25.0": 38.5
"50.0": 76.0
"75.0": 113.5
"95.0": 143.49999999999997
"99.0": 149.5
---
"Filtered test":
@ -181,22 +181,22 @@ setup:
- length: { hits.hits: 3 }
- match:
aggregations.percentiles_int.values:
1.0: 52.0
5.0: 56.0
25.0: 76.0
50.0: 101.0
75.0: 126.0
95.0: 146.0
99.0: 150.0
"1.0": 52.0
"5.0": 56.0
"25.0": 76.0
"50.0": 101.0
"75.0": 126.0
"95.0": 146.0
"99.0": 150.0
- match:
aggregations.percentiles_double.values:
1.0: 52.0
5.0: 56.0
25.0: 76.0
50.0: 101.0
75.0: 126.0
95.0: 146.0
99.0: 150.0
"1.0": 52.0
"5.0": 56.0
"25.0": 76.0
"50.0": 101.0
"75.0": 126.0
"95.0": 146.0
"99.0": 150.0
---
"Missing field with missing param":
@ -214,13 +214,13 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_missing.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 1.0
75.0: 1.0
95.0: 1.0
99.0: 1.0
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 1.0
"75.0": 1.0
"95.0": 1.0
"99.0": 1.0
---
"Missing field without missing param":
@ -255,13 +255,13 @@ setup:
- match: { aggregations.percentiles_int.meta.foo: "bar" }
- match:
aggregations.percentiles_int.values:
1.0: 2.5
5.0: 8.500000000000002
25.0: 38.5
50.0: 76.0
75.0: 113.5
95.0: 143.49999999999997
99.0: 149.5
"1.0": 2.5
"5.0": 8.500000000000002
"25.0": 38.5
"50.0": 76.0
"75.0": 113.5
"95.0": 143.49999999999997
"99.0": 149.5
---
"Invalid params test":

View File

@ -69,22 +69,22 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_int.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
- match:
aggregations.percentiles_double.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
- do:
search:
@ -106,22 +106,22 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_int.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
- match:
aggregations.percentiles_double.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
---
"Only aggs test":
@ -144,22 +144,22 @@ setup:
- length: { hits.hits: 0 }
- match:
aggregations.percentiles_int.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
- match:
aggregations.percentiles_double.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
---
"Filtered test":
@ -187,22 +187,22 @@ setup:
- length: { hits.hits: 3 }
- match:
aggregations.percentiles_int.values:
1.0: 51.0
5.0: 51.0
25.0: 51.0
50.0: 101.03125
75.0: 101.03125
95.0: 151.09375
99.0: 151.09375
"1.0": 51.0
"5.0": 51.0
"25.0": 51.0
"50.0": 101.03125
"75.0": 101.03125
"95.0": 151.09375
"99.0": 151.09375
- match:
aggregations.percentiles_double.values:
1.0: 51.0
5.0: 51.0
25.0: 51.0
50.0: 101.03125
75.0: 101.03125
95.0: 151.09375
99.0: 151.09375
"1.0": 51.0
"5.0": 51.0
"25.0": 51.0
"50.0": 101.03125
"75.0": 101.03125
"95.0": 151.09375
"99.0": 151.09375
---
"Missing field with missing param":
@ -221,13 +221,13 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_missing.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 1.0
75.0: 1.0
95.0: 1.0
99.0: 1.0
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 1.0
"75.0": 1.0
"95.0": 1.0
"99.0": 1.0
---
"Missing field without missing param":
@ -264,13 +264,13 @@ setup:
- match: { aggregations.percentiles_int.meta.foo: "bar" }
- match:
aggregations.percentiles_int.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
---
"Invalid params test":
@ -374,14 +374,14 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_int.values:
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
- match:
aggregations.percentiles_double.values:
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
---
"Non-keyed test":
@ -435,13 +435,13 @@ setup:
- length: { hits.hits: 4 }
- match:
aggregations.percentiles_int.values:
1.0: 1.0
5.0: 1.0
25.0: 1.0
50.0: 51.0302734375
75.0: 101.0615234375
95.0: 151.1240234375
99.0: 151.1240234375
"1.0": 1.0
"5.0": 1.0
"25.0": 1.0
"50.0": 51.0302734375
"75.0": 101.0615234375
"95.0": 151.1240234375
"99.0": 151.1240234375
- match: { _shards.failures.0.reason.type: array_index_out_of_bounds_exception }