array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'solrquery.setmltcount.php', 1 => 'SolrQuery::setMltCount', 2 => 'Set the number of similar documents to return for each result', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setmltboost.php', 1 => 'SolrQuery::setMltBoost', ), 'next' => array ( 0 => 'solrquery.setmltmaxnumqueryterms.php', 1 => 'SolrQuery::setMltMaxNumQueryTerms', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/setmltcount.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::setMltCount

(PECL solr >= 0.9.2)

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

Beschreibung

public SolrQuery::setMltCount(int $count): SolrQuery

Set the number of similar documents to return for each result

Parameter-Liste

count

The number of similar documents to return for each result

Rückgabewerte

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