SolrQuery
PHP Manual

SolrQuery::setTermsLimit

(PECL solr >= 0.9.2)

SolrQuery::setTermsLimitSets the maximum number of terms to return

Opis

public SolrQuery SolrQuery::setTermsLimit ( int $limit )

Sets the maximum number of terms to return

Parametry

limit

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

Zwracane wartoĊ›ci

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


SolrQuery
PHP Manual