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.