Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrQuery::setMltBoostSolrQuery::setMltMaxNumQueryTerms>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::setMltCount

(PECL solr >= 0.9.2)

SolrQuery::setMltCount — Set the number of similar documents to return for each result

Description

public function 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.


<SolrQuery::setMltBoostSolrQuery::setMltMaxNumQueryTerms>
^SolrQueryLast updated: Mon, 26 Oct 2026