Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrQuery::setTermsIncludeUpperBoundSolrQuery::setTermsLowerBound>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::setTermsLimit

(PECL solr >= 0.9.2)

SolrQuery::setTermsLimit — Sets the maximum number of terms to return

Description

public function 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.


<SolrQuery::setTermsIncludeUpperBoundSolrQuery::setTermsLowerBound>
^SolrQueryLast updated: Mon, 26 Oct 2026