SolrQuery::setMlt

(PECL solr >= 0.9.2)

SolrQuery::setMltEnables or disables moreLikeThis

Description

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

Enables or disables moreLikeThis

Parameters

flag

true enables it and false turns it off.

Return Values

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