elasticsearch/docs/reference/aggregations/bucket
Zachary Tong 9f165bd44e
Aggs must specify a `field` or `script` (or both) (#52226)
* Aggs must specify a `field` or `script` (or both)

This adds a validation to VSParserHelper to ensure that a field or
script or both are specified by the user.  This is technically
required today already, but throws an exception much deeper
in the agg framework and has a very unintuitive error for the user
(as well as eating more resources instead of failing early)

* Fix StringStats test

* Add yaml test

* Skip test on older versions

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 14:26:38 -04:00
..
adjacency-matrix-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
autodatehistogram-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
children-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
composite-aggregation.asciidoc Support offset in composite aggs (#50609) 2020-01-07 14:49:09 -05:00
datehistogram-aggregation.asciidoc Support offset in composite aggs (#50609) 2020-01-07 14:49:09 -05:00
daterange-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
diversified-sampler-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
filter-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
filters-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
geodistance-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
geohashgrid-aggregation.asciidoc [DOCS] Fix parameter formatting for GeoHash grid agg docs (#53032) 2020-03-09 08:17:57 -04:00
geotilegrid-aggregation.asciidoc Adds support for geo-bounds filtering in geogrid aggregations (#50002) 2020-01-14 08:29:10 -08:00
global-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
histogram-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
iprange-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
missing-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
nested-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
parent-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
range-aggregation.asciidoc Aggs must specify a `field` or `script` (or both) (#52226) 2020-04-23 14:26:38 -04:00
range-field-note.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
rare-terms-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
reverse-nested-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
sampler-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
significantterms-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
significanttext-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
terms-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00