php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::getFacetLimit

SolrQuery::getFacetLimit

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Returns the maximum number of constraint counts that should be returned for the facet fields

Description

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

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

Parameters

field_override

The name of the field to override for

Return Values

Returns an integer on success and null if not set

Source: reference/solr/solrquery/getfacetlimit.xml · from the official PHP manual (php/doc-en)