Php/docs/solrquery.setgrouptruncate

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

SolrQuery::setGroupTruncate

(PECL solr >= 2.2.0)

SolrQuery::setGroupTruncateIf true, facet counts are based on the most relevant document of each group matching the query


说明

public SolrQuery::setGroupTruncate ( bool $value ) : SolrQuery

If true, facet counts are based on the most relevant document of each group matching the query. The server default value is false. group.truncate parameter


参数

value


返回值

参见