diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/index/90_unsigned_long.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/90_unsigned_long.yml index 1d46d5d78e86c..02157a809d90b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/index/90_unsigned_long.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/index/90_unsigned_long.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/100_avg_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/100_avg_metric_unsigned.yml index 9bf0283b57272..4a04b48f55444 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/100_avg_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/100_avg_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/110_max_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/110_max_metric_unsigned.yml index 744f45e2f4a62..e8bab4c933eb5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/110_max_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/110_max_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/120_min_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/120_min_metric_unsigned.yml index cbd10a2a38301..38601f3ea660d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/120_min_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/120_min_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/130_sum_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/130_sum_metric_unsigned.yml index 17ad089b3db78..2c2cce1a24022 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/130_sum_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/130_sum_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/140_value_count_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/140_value_count_metric_unsigned.yml index 776e10dc8bab3..7f8ee96142676 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/140_value_count_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/140_value_count_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/150_stats_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/150_stats_metric_unsigned.yml index df09e9650a27e..717af8fe15ae8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/150_stats_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/150_stats_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/160_extended_stats_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/160_extended_stats_metric_unsigned.yml index 6bc71fdc779db..f2090cd081394 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/160_extended_stats_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/160_extended_stats_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/170_cardinality_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/170_cardinality_metric_unsigned.yml index 78af4ad921499..27245d1aa435c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/170_cardinality_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/170_cardinality_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/180_percentiles_tdigest_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/180_percentiles_tdigest_metric_unsigned.yml index bbf97523b1984..0771b67fddb73 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/180_percentiles_tdigest_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/180_percentiles_tdigest_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: @@ -48,9 +48,55 @@ setup: string_field: foo --- -"Basic test": +"Basic 2.x test": + - skip: + version: "3.0.0 -" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" - do: + node_selector: + version: "- 2.9.99" + search: + rest_total_hits_as_int: true + body: + aggs: + percentiles_unsigned: + percentiles: + field: unsigned_field + percentiles_double: + percentiles: + field: double_field + + - match: { hits.total: 4 } + - length: { hits.hits: 4 } + + - match: { aggregations.percentiles_unsigned.values.1\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.5\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.25\.0: 26.0 } + - match: { aggregations.percentiles_unsigned.values.50\.0: 576.0 } + - match: { aggregations.percentiles_unsigned.values.75\.0: 5111686018427390000.0 } + - match: { aggregations.percentiles_unsigned.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_unsigned.values.99\.0: 10223372036854778000.0 } + + - match: { aggregations.percentiles_double.values.1\.0: 1.0 } + - match: { aggregations.percentiles_double.values.5\.0: 1.0 } + - match: { aggregations.percentiles_double.values.25\.0: 26.0 } + - match: { aggregations.percentiles_double.values.50\.0: 576.0 } + - match: { aggregations.percentiles_double.values.75\.0: 5111686018427390000.0 } + - match: { aggregations.percentiles_double.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } + +--- +"Basic 3.x test": + - skip: + version: "- 2.99.99" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" + + - do: + node_selector: + version: "3.0.0 -" search: rest_total_hits_as_int: true body: @@ -82,9 +128,59 @@ setup: - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } --- -"Compression test": +"Compression 2.x test": + - skip: + version: "3.0.0 -" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" + + - do: + node_selector: + version: "- 2.9.99" + search: + rest_total_hits_as_int: true + body: + aggs: + percentiles_unsigned: + percentiles: + field: unsigned_field + tdigest: + compression: 200 + percentiles_double: + percentiles: + field: double_field + tdigest: + compression: 200 + + - match: { hits.total: 4 } + - length: { hits.hits: 4 } + + - match: { aggregations.percentiles_unsigned.values.1\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.5\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.25\.0: 26.0 } + - match: { aggregations.percentiles_unsigned.values.50\.0: 576.0 } + - match: { aggregations.percentiles_unsigned.values.75\.0: 5111686018427390000.0 } + - match: { aggregations.percentiles_unsigned.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_unsigned.values.99\.0: 10223372036854778000.0 } + + - match: { aggregations.percentiles_double.values.1\.0: 1.0 } + - match: { aggregations.percentiles_double.values.5\.0: 1.0 } + - match: { aggregations.percentiles_double.values.25\.0: 26.0 } + - match: { aggregations.percentiles_double.values.50\.0: 576.0 } + - match: { aggregations.percentiles_double.values.75\.0: 5111686018427390000.0 } + - match: { aggregations.percentiles_double.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } + +--- +"Compression 3.x test": + - skip: + version: "- 2.99.99" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" - do: + node_selector: + version: "3.0.0 -" search: rest_total_hits_as_int: true body: @@ -120,9 +216,56 @@ setup: - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } --- -"Only aggs test": +"Only aggs 2.x test": + - skip: + version: "3.0.0 -" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" - do: + node_selector: + version: "- 2.9.99" + search: + rest_total_hits_as_int: true + body: + size: 0 + aggs: + percentiles_unsigned: + percentiles: + field: unsigned_field + percentiles_double: + percentiles: + field: double_field + + - match: { hits.total: 4 } + - length: { hits.hits: 0 } + + - match: { aggregations.percentiles_unsigned.values.1\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.5\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.25\.0: 26.0 } + - match: { aggregations.percentiles_unsigned.values.50\.0: 576.0 } + - match: { aggregations.percentiles_unsigned.values.75\.0: 5111686018427390000.0 } + - match: { aggregations.percentiles_unsigned.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_unsigned.values.99\.0: 10223372036854778000.0 } + + - match: { aggregations.percentiles_double.values.1\.0: 1.0 } + - match: { aggregations.percentiles_double.values.5\.0: 1.0 } + - match: { aggregations.percentiles_double.values.25\.0: 26.0 } + - match: { aggregations.percentiles_double.values.50\.0: 576.0 } + - match: { aggregations.percentiles_double.values.75\.0: 5111686018427390000.0 } + - match: { aggregations.percentiles_double.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } + +--- +"Only aggs 3.x test": + - skip: + version: "- 2.99.99" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" + + - do: + node_selector: + version: "3.0.0 -" search: rest_total_hits_as_int: true body: @@ -155,9 +298,61 @@ setup: - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } --- -"Filtered test": +"Filtered 2.x test": + - skip: + version: "3.0.0 -" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" + + - do: + node_selector: + version: "- 2.9.99" + search: + rest_total_hits_as_int: true + body: + query: + constant_score: + filter: + range: + unsigned_field: + gte: 50 + aggs: + percentiles_unsigned: + percentiles: + field: unsigned_field + percentiles_double: + percentiles: + field: double_field + + - match: { hits.total: 3 } + - length: { hits.hits: 3 } + + - match: { aggregations.percentiles_unsigned.values.1\.0: 51.0 } + - match: { aggregations.percentiles_unsigned.values.5\.0: 51.0 } + - match: { aggregations.percentiles_unsigned.values.25\.0: 313.5 } + - match: { aggregations.percentiles_unsigned.values.50\.0: 1101.0 } + - match: { aggregations.percentiles_unsigned.values.75\.0: 7667529027641084000.0 } + - match: { aggregations.percentiles_unsigned.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_unsigned.values.99\.0: 10223372036854778000.0 } + + - match: { aggregations.percentiles_double.values.1\.0: 51.0 } + - match: { aggregations.percentiles_double.values.5\.0: 51.0 } + - match: { aggregations.percentiles_double.values.25\.0: 313.5 } + - match: { aggregations.percentiles_double.values.50\.0: 1101.0 } + - match: { aggregations.percentiles_double.values.75\.0: 7667529027641084000.0 } + - match: { aggregations.percentiles_double.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } + +--- +"Filtered 3.x test": + - skip: + version: "- 2.99.99" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" - do: + node_selector: + version: "3.0.0 -" search: rest_total_hits_as_int: true body: @@ -195,9 +390,48 @@ setup: - match: { aggregations.percentiles_double.values.99\.0: 10223372036854778000.0 } --- -"Metadata test": +"Metadata 2.x test": + - skip: + version: "3.0.0 -" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" + + - do: + node_selector: + version: "- 2.9.99" + search: + rest_total_hits_as_int: true + body: + aggs: + percentiles_unsigned: + meta: + foo: bar + percentiles: + field: unsigned_field + + - match: { hits.total: 4 } + - length: { hits.hits: 4 } + - match: { aggregations.percentiles_unsigned.meta.foo: "bar" } + + + - match: { aggregations.percentiles_unsigned.values.1\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.5\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.25\.0: 26.0 } + - match: { aggregations.percentiles_unsigned.values.50\.0: 576.0 } + - match: { aggregations.percentiles_unsigned.values.75\.0: 5111686018427390000.0 } + - match: { aggregations.percentiles_unsigned.values.95\.0: 10223372036854778000.0 } + - match: { aggregations.percentiles_unsigned.values.99\.0: 10223372036854778000.0 } + +--- +"Metadata 3.x test": + - skip: + version: "- 2.99.99" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" - do: + node_selector: + version: "3.0.0 -" search: rest_total_hits_as_int: true body: @@ -222,9 +456,50 @@ setup: - match: { aggregations.percentiles_unsigned.values.99\.0: 10223372036854778000.0 } --- -"Explicit Percents test": +"Explicit Percents 2.x test": + - skip: + version: "3.0.0 -" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" - do: + node_selector: + version: "- 2.9.99" + search: + rest_total_hits_as_int: true + body: + aggs: + percentiles_unsigned: + percentiles: + field: unsigned_field + percents: [5.0, 25.0, 50.0] + percentiles_double: + percentiles: + field: double_field + percents: [5.0, 25.0, 50.0] + + + - match: { hits.total: 4 } + - length: { hits.hits: 4 } + + - match: { aggregations.percentiles_unsigned.values.5\.0: 1.0 } + - match: { aggregations.percentiles_unsigned.values.25\.0: 26.0 } + - match: { aggregations.percentiles_unsigned.values.50\.0: 576.0 } + + - match: { aggregations.percentiles_double.values.5\.0: 1.0 } + - match: { aggregations.percentiles_double.values.25\.0: 26.0 } + - match: { aggregations.percentiles_double.values.50\.0: 576.0 } + +--- +"Explicit Percents 3.x test": + - skip: + version: "- 2.99.99" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" + + - do: + node_selector: + version: "3.0.0 -" search: rest_total_hits_as_int: true body: @@ -251,9 +526,46 @@ setup: - match: { aggregations.percentiles_double.values.50\.0: 1101.0 } --- -"Non-keyed test": +"Non-keyed 2.x test": + - skip: + version: "3.0.0 -" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" + + - do: + node_selector: + version: "- 2.9.99" + search: + rest_total_hits_as_int: true + body: + aggs: + percentiles_unsigned: + percentiles: + field: unsigned_field + percents: [5.0, 25.0, 50.0] + keyed: false + + + - match: { hits.total: 4 } + - length: { hits.hits: 4 } + + - match: { aggregations.percentiles_unsigned.values.0.key: 5.0 } + - match: { aggregations.percentiles_unsigned.values.0.value: 1.0 } + - match: { aggregations.percentiles_unsigned.values.1.key: 25.0 } + - match: { aggregations.percentiles_unsigned.values.1.value: 26.0 } + - match: { aggregations.percentiles_unsigned.values.2.key: 50.0 } + - match: { aggregations.percentiles_unsigned.values.2.value: 576.0 } + +--- +"Non-keyed 3.x test": + - skip: + version: "- 2.99.99" + features: node_selector + reason: "t-digest 3.2 was interpolating leading to incorrect percentiles" - do: + node_selector: + version: "3.0.0 -" search: rest_total_hits_as_int: true body: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/190_percentiles_hdr_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/190_percentiles_hdr_metric_unsigned.yml index 887023d836259..f45be4632d3bd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/190_percentiles_hdr_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/190_percentiles_hdr_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml index 7346f31fb95dc..0fa734b7e5fe9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml @@ -292,8 +292,8 @@ setup: --- "Unsigned Long test": - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.put_mapping: @@ -670,8 +670,8 @@ setup: --- "Unmapped unsigned longs": - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.put_mapping: @@ -787,8 +787,8 @@ setup: --- "Mixing longs, unsigned long and doubles": - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.put_mapping: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket_unsigned.yml index 834a33007d3a3..68943bf42c2b8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite_unsigned.yml index eacf47acdaebe..75c951d56f2ae 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/260_weighted_avg_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/260_weighted_avg_unsigned.yml index ad1a867e834c9..5cdf7726e7230 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/260_weighted_avg_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/260_weighted_avg_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/270_median_absolute_deviation_metric_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/270_median_absolute_deviation_metric_unsigned.yml index cb6f422163821..289b61c9c8783 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/270_median_absolute_deviation_metric_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/270_median_absolute_deviation_metric_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/370_multi_terms.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/370_multi_terms.yml index 7f088d1f6ddfd..0f897866fcb9d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/370_multi_terms.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/370_multi_terms.yml @@ -239,8 +239,8 @@ setup: --- "Unsigned Long test": - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.put_mapping: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml index 9122e65047f9f..7d887d56ae8fe 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml @@ -431,8 +431,8 @@ setup: --- "Unsigned long range": - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.put_mapping: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys_unsigned.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys_unsigned.yml index 7f1853b2370ed..5ae912a92d8c8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys_unsigned.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys_unsigned.yml @@ -1,7 +1,7 @@ setup: - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/260_sort_mixed.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/260_sort_mixed.yml index a1332d329720b..ba2b18eb3b6d0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/260_sort_mixed.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/260_sort_mixed.yml @@ -67,8 +67,8 @@ --- "search across indices with mixed long, double and unsigned_long numeric types": - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml index a24313d96da2c..65c1527a68b96 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml @@ -228,8 +228,8 @@ --- "unsigned long": - skip: - version: " - 2.99.99" - reason: unsigned_long is not supported before 3.0.0 + version: " - 2.7.99" + reason: unsigned_long is not supported before 2.8.0 - do: indices.create: