(PECL solr >= 2.2.0)
SolrQuery::setGroupMain — If true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple
public SolrQuery::setGroupMain ( string $value ) : SolrQuery
If true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple.
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.setgroupmain.php