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