PHP - Manual: SolrQuery::setFacetLimit
2024-12-21
(PECL solr >= 0.9.2)
SolrQuery::setFacetLimit — Maps to facet.limit
Maps to facet.limit. Sets the maximum number of constraint counts that should be returned for the facet fields.
limit
The maximum number of constraint counts
field_override
The name of the field.
Returns the current SolrQuery object, if the return value is used.
官方地址:https://www.php.net/manual/en/solrquery.setfacetlimit.php