-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sub aggregation of metric aggregation #10059
Comments
What would you expect the output of this to be? if you want to calculate the mean and max of a field for each terms bucket you can do the following:
Does this fit what you wanted to do? |
No,i want to calculate the max value from all the mean value |
You cannot do this at this stage. Once you get an aggregation result you can only sub-aggregate that, not do a different aggregation across those results. |
@zijian1981 there is an issue open for this kind of thing (#10000) which is being considered as part of #9876 |
Is it possible to support sub aggregation of metric aggregation ?
For example ,term agg→mean agg →max agg
The text was updated successfully, but these errors were encountered: