Docs: Update filter-aggregation.asciidoc

Closes #11782
This commit is contained in:
William Li 2015-06-19 13:00:07 -07:00 committed by Clinton Gormley
parent d73ce3492a
commit 2be3fe31a4

View File

@ -19,7 +19,7 @@ Example:
} }
-------------------------------------------------- --------------------------------------------------
In the above example, we calculate the average price of all the products that are currently in-stock. In the above example, we calculate the average price of all the products that are red.
Response: Response:
@ -29,7 +29,7 @@ Response:
... ...
"aggs" : { "aggs" : {
"in_stock_products" : { "red_products" : {
"doc_count" : 100, "doc_count" : 100,
"avg_price" : { "value" : 56.3 } "avg_price" : { "value" : 56.3 }
} }