(PECL solr >= 2.2.0)
SolrQuery::setGroupFacet — Sets group.facet parameter
public SolrQuery::setGroupFacet ( bool $value ) : SolrQuery
Determines whether to compute grouped facets for the field facets specified in facet.field parameters. Grouped facets are computed based on the first specified group.
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.setgroupfacet.php