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.