Thanks!

Is there any way to apply this to facet queries as well? 
(I could just apply a f.field.facet.limit to each and every field, and
then apply a global facet.limit for facet queries.)

Cheers
david

-----Original Message-----
From: Jonathan Rochkind [mailto:rochk...@jhu.edu] 
Sent: Wednesday, November 17, 2010 6:12 PM
To: solr-user@lucene.apache.org
Subject: Re: Per field facet limit

f.name_of_field.facet.limit

The f.name_of_field.original_value thing is a common pattern in Solr, 
but, yeah, sometimes it's hard to find it in the documentation.

So same with any of the other facet parameters. 
f.name_of_field.facet.mincount, whatever.

David Yang wrote:
> Hi,
>
>  
>
> The wiki on facet.limit
> (http://wiki.apache.org/solr/SimpleFacetParameters#facet.limit) says
> "This parameter can be specified on a per field basis to indicate a
> separate limit for certain fields." But it is not specified how to
> specify a specific field. How do you do this?
>
>  
>
> I  tried
>
>  
>
>             <str name="facet.field">a_id</str>
>
>             <int name="a_id.facet.mincount">30</int>
>
>  
>
>             <str name="facet.field">b_id</str>
>
>             <int name="b_id.facet.mincount">3</int>
>
>  
>
> Which didn't work, as well as plain 'facet.mincount' twice which also
> didn't work. 
>
>  
>
> Cheers,
>
> David.
>
>
>   

Reply via email to