lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffery Yuan <>
Subject Re: Facet+Stats+MinCount: How to use mincount filter when use facet+stats
Date Wed, 05 Oct 2016 01:07:32 GMT
Yonik, Thanks very much for your reply.

I think you are talking about min/max functions that are used to create
stats facet.

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.

     type : terms, 
     field : accountId, 
     numBuckets: true, 
       sum : "sum(timeSpent)" 
       *// it would be great if we support minValue, maxValue to do filter
here *

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message