array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.settermsmaxcount.php', 1 => 'SolrQuery::setTermsMaxCount', 2 => 'Sets the maximum document frequency', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.settermslowerbound.php', 1 => 'SolrQuery::setTermsLowerBound', ), 'next' => array ( 0 => 'solrquery.settermsmincount.php', 1 => 'SolrQuery::setTermsMinCount', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/settermsmaxcount.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::setTermsMaxCount

(PECL solr >= 0.9.2)

SolrQuery::setTermsMaxCountSets the maximum document frequency

说明

public SolrQuery::setTermsMaxCount(int $frequency): SolrQuery

Sets the maximum document frequency.

参数

frequency

The maximum document frequency.

返回值

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