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

edited FilterAggregation docs

parent ebc666aa
No related branches found
No related tags found
No related merge requests found
......@@ -11,10 +11,10 @@ context to a specific set of documents.
```JSON
{
"aggregations" : {
"agg_red_products" : {
"grades_stats" : {
"filter" : { "term": { "color": "red" } },
"aggs" : {
"agg_avg_price" : { "avg" : { "field" : "price" } }
"aggregations" : {
"avg_price" : { "avg" : { "field" : "price" } }
}
}
}
......
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