SolrQuery::setTermsLimit

(PECL solr >= 0.9.2)

SolrQuery::setTermsLimitSets the maximum number of terms to return

说明

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

Sets the maximum number of terms to return

参数

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.

相关文章
php solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns the maximum number of highlighted snippets to generate per fieldphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the maximum number of documentsphp solrquery returns the maximum number of terms solr should returnphp solrquery sets the number of rows to display in each group expand.rows . server default 5php solrquery sets the maximum number of characters of the field to returnphp solrquery sets the maximum number of highlighted snippets to generate per fieldphp solrquery set the number of similar documents to return for each resultphp solrquery sets the maximum number of query terms includedphp solrquery specifies the maximum number of tokens to parsephp solrquery sets the maximum word lengthphp solrquery specifies the maximum number of rows to return in the resultphp solrquery sets the name of the field to get the terms fromphp solrquery sets the maximum number of terms to returnphp solrquery sets the maximum document frequency
关注编程学问公众号