[ https://issues.apache.org/jira/browse/SOLR-9602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jefferyyuan closed SOLR-9602. ----------------------------- Resolution: Duplicate Yonik Seeley already created https://issues.apache.org/jira/browse/SOLR-9603. > Support Bucket Filters in Facet Functions > ----------------------------------------- > > Key: SOLR-9602 > URL: https://issues.apache.org/jira/browse/SOLR-9602 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, faceting > Reporter: jefferyyuan > Labels: facet, faceted-search, faceting, function > Fix For: 5.5.4, 6.3, 6.x, 6.2.2 > > > Original link: > http://lucene.472066.n3.nabble.com/Facet-Stats-MinCount-How-to-use-mincount-filter-when-use-facet-stats-td4299367.html > we need bucket filters in general (beyond mincount). - Yonik Seeley > We store some events data such as accountId, startTime, endTime, timeSpent > and some other searchable fields. > We want to get all acountIds that spend more than xhours between startTime > and endTime and some other criteria which are not important here. > We use solr facet function like below. > it's very powerful. The only missing part is that it doesn't minValue and > maxValue filter. > 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 > } > } > } -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org