elasticsearch/docs/reference/aggregations
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
..
bucket Aggs must specify a field or script (or both) (#52226) 2020-04-23 14:26:38 -04:00
matrix [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
metrics Add support for filters to T-Test aggregation (#54980) 2020-04-10 10:19:07 -04:00
pipeline [DOCS] Fix typo in bucket sum aggregation docs (#50431) 2019-12-20 08:47:24 -05:00
bucket.asciidoc Documentation notes for Range field histograms (#46890) 2019-10-01 10:46:04 -04:00
matrix.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics.asciidoc Add Student's t-test aggregation support (#54469) 2020-04-03 11:31:13 -04:00
misc.asciidoc [DOCS] Links transforms in aggregation docs (#52563) 2020-02-21 08:22:04 +01:00
pipeline.asciidoc update pipeline.asciidoc 2020-01-24 14:03:01 +01:00