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

SolrQuery::setTermsMaxCount

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Sets the maximum document frequency

Description

SolrQuery::setTermsMaxCount(int $frequency): SolrQuery

Sets the maximum document frequency.

Parameters

frequency

The maximum document frequency.

Return Values

Returns the current SolrQuery object, if the return value is used.

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