©
本文档使用 PHP中文网手册 发布
(PECL solr >= 0.9.2)
SolrQuery::setFacetLimit — Maps to facet.limit
$limit
[, string $field_override
] )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.