= 0.9.2)SolrQuery::setTermsLimit — Sets the maximum number of terms to return說(shuō)明public SolrQuery::setTermsLimit(int">

SolrQuery::setTermsLimit

(PECL solr >= 0.9.2)

SolrQuery::setTermsLimitSets the maximum number of terms to return

說(shuō)明

public SolrQuery::setTermsLimit(int $limit): SolrQuery

Sets the maximum number of terms to return

參數(shù)

limit

The 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.