public SolrQuery SolrQuery::setMltMaxNumQueryTerms    ( int $value   )

SolrQuery::setMltMaxNumQueryTermsSets the maximum number of query terms included

value

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