SolrQuery
PHP 手册

SolrQuery::getFacetLimit

(PECL solr >= 0.9.2)

SolrQuery::getFacetLimitReturns the maximum number of constraint counts that should be returned for the facet fields

说明

public int SolrQuery::getFacetLimit ([ string $field_override ] )

Returns the maximum number of constraint counts that should be returned for the facet fields. This method accepts an optional field override

参数

field_override

The name of the field to override for

返回值

Returns an integer on success and NULL if not set


SolrQuery
PHP 手册