multiple metric sub aggregations situation with ElasticSearch -
I know that Flexible supports sub-aggregation with bucket (where there can be bucket or metric all aggregations in the packet collection Are). Sub aggregation is not possible with metric aggregations. It may be understood but here is the case used.
I have a parent and using it as another child, using another The following is the desired group level (of course it is invalid What is the best way to resolve it? The issue is that your There may be 1 or more Sybnanation (Suu aggregation) for a parent aggregation. word aggregation. The child
word has a child group
top_hits is a metric aggregation, so this can not be any child aggregation. And now there is a need to include
average aggregation in the mix
top_hits in the aggregation tree in the previous aggregation
average as a child < There can be no metric aggregation since the code> top_hits .
top_hits is a metric aggregation and is also true for
avg aggregation.
Comments
Post a Comment