You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Andrew Nagy <an...@villanova.edu> on 2007/07/12 18:50:02 UTC

Facet Field Limits

Hello, I would like to generate a list of facets, let's say on 5 fields.  I have the facet limit set to 5 so that for each of the 5 fields there will only by up to 5 values.

My question is: Is there a way to change the limit per field?  Let's say on facet 2 I would like to display 10 values instead of 5 like the other facets.

Thanks!
Andrew

Re: Facet Field Limits

Posted by Yonik Seeley <yo...@apache.org>.
On 7/12/07, Andrew Nagy <an...@villanova.edu> wrote:
> My question is: Is there a way to change the limit per field?  Let's say on facet 2 I would like to display 10 values instead of 5 like the other facets.

>From the wiki: http://wiki.apache.org/solr/SimpleFacetParameters

Parameters
These are the parameters used to drive the Simple Faceting behavior,
note that some parameters may be overridden on a per-field basis with
the following syntax:
    *     f.<fieldName>.<originalParam>=<value>
eg. f.category.facet.limit=5

-Yonik