From 9786350848091509abe4d83b0df4c301877b11ed Mon Sep 17 00:00:00 2001 From: Mantas Simkus <mantas.simkus@ongr.io> Date: Thu, 6 Aug 2015 12:24:51 +0300 Subject: [PATCH] edited ReverseNestedAggregation docs --- docs/Aggregation/ReverseNested.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Aggregation/ReverseNested.md b/docs/Aggregation/ReverseNested.md index 7ef138a..d375bb9 100644 --- a/docs/Aggregation/ReverseNested.md +++ b/docs/Aggregation/ReverseNested.md @@ -9,17 +9,17 @@ A special single bucket aggregation that enables aggregating on parent docs from ```JSON { "aggregations": { - "agg_comments": { + "comments": { "nested": { "path": "comments" }, "aggregations": { - "agg_top_usernames": { + "top_usernames": { "terms": { "field": "comments.username" }, "aggregations": { - "agg_comment_to_issue": { + "comment_to_issue": { "reverse_nested": {}, "aggregations": { "top_tags_per_comment": { -- GitLab