Browse Source

Docs: Update filter-aggregation.asciidoc

Closes #11782
William Li 10 years ago
parent
commit
2be3fe31a4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/aggregations/bucket/filter-aggregation.asciidoc

+ 2 - 2
docs/reference/aggregations/bucket/filter-aggregation.asciidoc

@@ -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:
 
@@ -29,7 +29,7 @@ Response:
     ...
 
     "aggs" : {
-        "in_stock_products" : {
+        "red_products" : {
             "doc_count" : 100,
             "avg_price" : { "value" : 56.3 }
         }