Php/docs/solrquery.setmltmaxnumqueryterms

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::setMltMaxNumQueryTerms

(PECL solr >= 0.9.2)

SolrQuery::setMltMaxNumQueryTermsSets the maximum number of query terms included


说明

public SolrQuery::setMltMaxNumQueryTerms ( int $value ) : SolrQuery

Sets the maximum number of query terms that will be included in any generated query.


参数

value
The maximum number of query terms that will be included in any generated query


返回值

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