SolrQuery
PHP Manual

SolrQuery::setMlt

(PECL solr >= 0.9.2)

SolrQuery::setMltEnables or disables moreLikeThis

Opis

public SolrQuery SolrQuery::setMlt ( bool $flag )

Enables or disables moreLikeThis

Parametry

flag

TRUE enables it and FALSE turns it off.

Zwracane wartoĊ›ci

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


SolrQuery
PHP Manual