SolrQuery::setGroupFormat

Sets the group format, result structure (group.format parameter)

&reftitle.description; public `SolrQuery` `SolrQuery::setGroupFormat` `string` `value`

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

&reftitle.parameters;

`value`

&reftitle.returnvalues;

&reftitle.seealso;

- `SolrQuery::setGroup`
- `SolrQuery::addGroupField`
- `SolrQuery::addGroupFunction`
- `SolrQuery::addGroupQuery`
- `SolrQuery::addGroupSortField`
- `SolrQuery::setGroupFacet`
- `SolrQuery::setGroupOffset`
- `SolrQuery::setGroupLimit`
- `SolrQuery::setGroupMain`
- `SolrQuery::setGroupNGroups`
- `SolrQuery::setGroupTruncate`
- `SolrQuery::setGroupCachePercent`