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 highlighted snippets to generate per fieldphp solrquery returns the number of similar documents to return for each resultphp 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 terms solr should returnphp solrquery sets the number of rows to display in each group expand.rows . server default 5php solrquery specifies the number of results to return for each group. the server default value is 1php solrquery sets the maximum number of characters of the field to returnphp solrquery specify the maximum number of characters to analyzephp solrquery sets the maximum number of highlighted snippets to generate per fieldphp 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 sets the frequency below which terms will be ignored in the source docsphp solrquery specifies the maximum number of rows to return in the resultphp solrquery sets the maximum number of terms to returnphp solrquery sets the maximum document frequency
关注编程学问公众号