[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: Receiving unexpected Faceting results.
From:       Dotan Cohen <dotancohen () gmail ! com>
Date:       2013-06-05 13:45:52
Message-ID: CAKDXFkNvNoDZrh=3YTnBnnVtgpA0RMxB6wH6czvUBCj0HaMVMQ () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jun 5, 2013 at 3:41 PM, Brendan Grainger
<brendan.grainger@gmail.com> wrote:
> Hi Dotan,
>
> I think all you need to do is add:
>
> facet.mincount=1
>
> i.e.
>
> select?q=*:*&fq=tags:dotan-*&facet=true&facet.field=tags&
> rows=0&facet.mincount=1
>
> Note that you can do it per field as well:
>
> select?q=*:*&fq=tags:dotan-*&facet=true&facet.field=tags&
> rows=0&f.tags.facet.mincount=1
>
> http://wiki.apache.org/solr/SimpleFacetParameters#facet.mincount
>

Thanks, Brendan. I will review the available Facet Parameters, which I
really should have thought to do before posting as it is already
bookmarked!
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic