Hello Yago, This condition doesn't help to reduce computation significantly for facet.method=fc nor fcs, it might help for enum, but it requires implementation efforts. Also, my feeling is that you have much more performance challenges if you have million size facets response, it's not typical usage at all. Literally your problem can be solved by extending http://wiki.apache.org/solr/SolrPlugins#QueryResponseWriter
On Wed, Jan 15, 2014 at 2:16 PM, yriveiro <yago.rive...@gmail.com> wrote: > Hi, > > I'm wondering if Solr has some feature like face.mincount but for maxcount. > > I have an use case where I need to know what facets have less than n > elements. > > I can do this adding the facet.limit=-1 parameter and fetch the whole set > and client-side remove the elements that don't match the threshold. The > problem is that the facet can return millions of rows and fetch the > response > and reduce the set can take a while ... > > /Yago > > > > ----- > Best regards > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Facets-maxcount-feature-tp4111408.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>