Darwin xxx.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 x86_64
Problem Description
GeoBoundsAggregation is a metric aggregation that doesn't support sub aggregations. However, it does not reject sub aggregations or do anything when sub aggregations are added into it during search.
Elasticsearch Version
8.6.0
Installed Plugins
No response
Java Version
java version "17.0.1" 2021-10-19 LTS
OS Version
Darwin xxx.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 x86_64
Problem Description
GeoBoundsAggregation is a metric aggregation that doesn't support sub aggregations. However, it does not reject sub aggregations or do anything when sub aggregations are added into it during search.
Steps to Reproduce
refer to :https://www.elastic.co/guide/en/elasticsearch/reference/master/search-aggregations-metrics-geobounds-aggregation.html
create index
index docs
search with sub agg
current response
we want reponse be like that of GeoCentroid's
Logs (if relevant)
No response