I found that we can't put div(4,2) directly, as it wouldn't work.

It will work if I put something like max(div(4,2)).

Regards,
Edwin


On 10 January 2017 at 19:59, Zheng Lin Edwin Yeo <edwinye...@gmail.com>
wrote:

> Hi,
>
> I'm getting this error when I tried to do a division in JSON Facet.
>
>   "error":{
>     "msg":"org.apache.solr.search.SyntaxError: Unknown aggregation agg_div in 
> ('div(4,2)', pos=4)",
>     "code":400}}
>
>
> Is this division function supported in JSON Facet?
>
> I'm using this in Solr 5.4.0
>
> Regards,
> Edwin
>

Reply via email to