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