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 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 .

The following is the desired group level (of course it is invalid top_hits is a metric aggregation and is also true for avg aggregation.

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.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -