SolrQuery
PHP Manual

SolrQuery::setMltCount

(PECL solr >= 0.9.2)

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

Descrição

public SolrQuery SolrQuery::setMltCount ( int $count )

Set the number of similar documents to return for each result

Parâmetros

count

The number of similar documents to return for each result

Valor Retornado

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


SolrQuery
PHP Manual