(PECL solr >= 2.2.0)
SolrQuery::setGroupNGroups — If 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
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrquery.setgroupngroups.php