Skip to content
Snippets Groups Projects
Commit 97863508 authored by Mantas Simkus's avatar Mantas Simkus
Browse files

edited ReverseNestedAggregation docs

parent 214bb753
No related branches found
No related tags found
No related merge requests found
......@@ -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": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment