SolrQuery
PHP 手册

SolrQuery::setMltCount

(PECL solr >= 0.9.2)

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

说明

public SolrQuery 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 手册