SolrQuery::setMlt

(PECL solr >= 0.9.2)

SolrQuery::setMltEnables or disables moreLikeThis

说明

public SolrQuery::setMlt(bool $flag): SolrQuery

Enables or disables moreLikeThis

参数

flag

true enables it and false turns it off.

返回值

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