lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffery Yuan <yuanyun...@gmail.com>
Subject Re: Facet+Stats+MinCount: How to use mincount filter when use facet+stats
Date Wed, 05 Oct 2016 00:54:39 GMT
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.

Mime
View raw message