Hi,
 Ideally the params.put("facet.mincount","1"); used for the facet search
should do the same.
 It works fine in my case.
Regards
Dilip.

-----Original Message-----
From: Britske [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 05, 2007 3:19 PM
To: solr-user@lucene.apache.org
Subject: possible to set mincount on facetquery?



is it possible to set a mincount on a facetquery as well as on a facetfield?
I have a situation in which I want to group facetqueries (price-ranges) but
I obviously dont want to show ranges with 0 results.

I tried things like: f.price:[0 TO 50].facet.mincount=1 and f.price:[0 TO
50].query.mincount=1.

Thanks,
Geert-Jan
--

#a14168182
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to