You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to the nested aggregator, but in reverse. It allows to create buckets and metrics based on the parent docs in the buckets of child documents.
This aggregation only makes sense inside a nested aggregator. Assume a ticket system with where the comments are embedded into the issue document. The reverse_nested aggregator would look like this:
This aggregation would return top username buckets and per username bucket the top tags. The important constraint that the nested and reverse_nested add here is that only tag buckets are associated to username buckets that reside in the nested structure.
The text was updated successfully, but these errors were encountered:
Are we be able to filter the nested documents for which the aggregation will work on?
e.g, let's say I want to aggregate comments registered on specific date range (and of course distinct users). Is this possible at the moment?
Similar to the
nested
aggregator, but in reverse. It allows to create buckets and metrics based on the parent docs in the buckets of child documents.This aggregation only makes sense inside a
nested
aggregator. Assume a ticket system with where the comments are embedded into the issue document. Thereverse_nested
aggregator would look like this:This aggregation would return top username buckets and per username bucket the top tags. The important constraint that the
nested
andreverse_nested
add here is that only tag buckets are associated to username buckets that reside in the nested structure.The text was updated successfully, but these errors were encountered: