Php/docs/solrquery.setmltboost

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

SolrQuery::setMltBoost

(PECL solr >= 0.9.2)

SolrQuery::setMltBoostSet if the query will be boosted by the interesting term relevance


说明

public SolrQuery::setMltBoost ( bool $flag ) : SolrQuery

Set if the query will be boosted by the interesting term relevance


参数

value
Sets to true or false


返回值

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