lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tod <listac...@gmail.com>
Subject Re: Facet count of zero
Date Mon, 01 Nov 2010 18:38:36 GMT
On 11/1/2010 1:03 PM, Yonik Seeley wrote:
> On Mon, Nov 1, 2010 at 12:55 PM, Tod<listacctc@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
>>
>

Excellent, I completely missed it - thanks!

Mime
View raw message