On Mon, Nov 1, 2010 at 12:55 PM, Tod <listac...@gmail.com> wrote:
> I'm trying to exclude certain facet results from a facet query.  It seems to
> work but rather than being excluded from the facet list its returned with a
> count of zero.

If you don't want to see 0 counts, use facet.mincount=1

http://wiki.apache.org/solr/SimpleFacetParameters

-Yonik
http://www.lucidimagination.co


> Ex:
> q=(-foo:bar)&facet=true&facet.field=foo&facet.sort=idx&wt=json&indent=true
>
> This returns bar with a count of zero.  All the other foo's show up with
> valid counts.
>
> Can I do this?  Is my syntax incorrect?
>
>
>
> Thanks - Tod
>

Reply via email to