SolrQuery
PHP Manual

SolrQuery::setMlt

(PECL solr >= 0.9.2)

SolrQuery::setMltEnables or disables moreLikeThis

说明

publicSolrQuery SolrQuery::setMlt ( bool $flag )

Enables or disables moreLikeThis

参数

flag

TRUE enables it and FALSE turns it off.

返回值

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


SolrQuery
PHP Manual