We will use Solr facet function - it's very powerful.
The only missing part is that it doesn't minValue and maxValue filter.
http://yonik.com/solr-facet-functions/

http://localhost:8983/solr/events/select?q=*:*&json.facet={
   categories:{
     type : terms,
     field : accountId,
     numBuckets: true,
     facet:{
       sum : "sum(playingTime)"
       // 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-tp4299367p4299616.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to