On 26/09/16 17:06, Yonik Seeley wrote:
> Statistics are now fully integrated into faceting. Since we start off
> with a single facet bucket with a domain defined by the main query and
> filters, we can even ask for statistics for this top level bucket,
> before breaking up into further buckets via faceting. Example:
> 
> json.facet={
>   x : "avg(price)",           // the average of the price field will

Aaaah! Thanks, that explains it. I was trying to put the statistics
under "facet":{}, instead of on the top level. Much appreciated :-)

 - Bram

Reply via email to