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

SolrQuery::setTermsLimit

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Sets the maximum number of terms to return

Description

SolrQuery::setTermsLimit(int $limit): SolrQuery

Sets the maximum number of terms to return

Parameters

limit

The maximum number of terms to return. All the terms will be returned if the limit is negative.

Return Values

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

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