(PECL solr >= 2.2.0)
SolrQuery::setGroupFormat — Sets the group format, result structure (group.format parameter)
public SolrQuery::setGroupFormat ( string $value ) : SolrQuery
Sets the group.format parameter. If this parameter is set to simple, the grouped documents are presented in a single flat list, and the start and rows parameters affect the numbers of documents instead of groups. Accepts: grouped/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.setgroupformat.php