SolrQuery::setFacetLimit
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Maps to facet.limit
Description
SolrQuery::setFacetLimit(int $limit, [string $field_override]): SolrQuery
Maps to facet.limit. Sets the maximum number of constraint counts that should be returned for the facet fields.
Parameters
limitThe maximum number of constraint counts
field_overrideThe name of the field.
Return Values
Returns the current SolrQuery object, if the return value is used.