Yonik, Thanks very much for your reply. I think you are talking about min/max functions that are used to create stats facet. http://yonik.com/solr-facet-functions/
Here we would like to do filter in the (sum) function facet. - so it would only return accountIds whose sum(timeSpent) is between minVale and maxValue. http://localhost:8983/solr/events/select?q=*:*&json.facet={ categories:{ type : terms, field : accountId, numBuckets: true, facet:{ sum : "sum(timeSpent)" *// it would be great if we support minValue, maxValue to do filter here * } } } -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-Stats-MinCount-How-to-use-mincount-filter-when-use-facet-stats-tp4299367p4299621.html Sent from the Solr - User mailing list archive at Nabble.com.