Description
The error thrown is
"error":{
"msg":"org.apache.solr.search.facet.AvgAgg$1 cannot be cast to org.apache.solr.search.facet.FacetSortableMerger",
and input json request is
responseHeader":{
"status":500,
"QTime":24,
"params":{
"q":":",
"json.facet":"{ categories:{ terms:{ field :something, limit :something, sort :
, facet:
{\t y : \"avg(sub(amount,count))\" } } } }",
"fq":"some thing else",
"rows":"0"}},