Php/docs/solrquery.setmltcount

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::setMltCount

(PECL solr >= 0.9.2)

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


说明

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

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.