About Aggregations

Can elastic search return the entire root document from a top hits sub-aggregation within a nested aggregation? It seems that the scope of the _source field within a top hits aggregation is restricted to the scope of the nested document when used within a nested aggregation and hence only returns the nested document.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.