(PECL solr >= 0.9.2)
SolrQuery::setTermsLimit — Sets the maximum number of terms to return
public SolrQuery::setTermsLimit(int $limit): SolrQuery
Sets the maximum number of terms to return
limitThe maximum number of terms to return. All the terms will be returned if the limit is negative.
Returns the current SolrQuery object, if the return value is used.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrquery.settermslimit.php