SolrQuery
PHP Manual

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 SolrQuery::setGroupNGroups ( bool $value )

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

参数

value

返回值

参见


SolrQuery
PHP Manual