SolrQuery
PHP Manual

SolrQuery::setMltCount

(PECL solr >= 0.9.2)

SolrQuery::setMltCountSet the number of similar documents to return for each result

说明

publicSolrQuery SolrQuery::setMltCount ( int $count )

Set the number of similar documents to return for each result

参数

count

The number of similar documents to return for each result

返回值

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


SolrQuery
PHP Manual