This commit is contained in:
gabriel-tessier 2014-04-01 18:13:59 +09:00 committed by Luca Cavanna
parent ade1d0ef57
commit 000c33aac3

View File

@ -28,7 +28,7 @@ Example:
<1> The `global` aggregation has an empty body
<2> The sub-aggregations that are registered for this `global` aggregation
The above aggregation demonstrates how one would compute aggregations (`avg_price` in this example) on all the documents in the search context, regardless of the query (in our example, it will compute the the average price over all products in our catalog, not just on the "shirts").
The above aggregation demonstrates how one would compute aggregations (`avg_price` in this example) on all the documents in the search context, regardless of the query (in our example, it will compute the average price over all products in our catalog, not just on the "shirts").
The response for the above aggreation:
@ -48,4 +48,4 @@ The response for the above aggreation:
}
--------------------------------------------------
<1> The number of documents that were aggregated (in our case, all documents within the search context)
<1> The number of documents that were aggregated (in our case, all documents within the search context)