php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::setMltCount

SolrQuery::setMltCount

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Set the number of similar documents to return for each result

Description

SolrQuery::setMltCount(int $count): SolrQuery

Set the number of similar documents to return for each result

Parameters

count

The number of similar documents to return for each result

Return Values

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

Source: reference/solr/solrquery/setmltcount.xml · from the official PHP manual (php/doc-en)