SolrQuery
PHP Manual

SolrQuery::setMlt

(PECL solr >= 0.9.2)

SolrQuery::setMltEnables or disables moreLikeThis

Description

publicSolrQuery SolrQuery::setMlt ( bool $flag )

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.


SolrQuery
PHP Manual