Php/docs/solrquery.setgroupngroups

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

SolrQuery::setGroupNGroups

(PECL solr >= 2.2.0)

SolrQuery::setGroupNGroupsIf true, Solr includes the number of groups that have matched the query in the results


说明

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

If true, Solr includes the number of groups that have matched the query in the results.


参数

value


返回值

参见