(PECL solr >= 2.2.0)
Sets the group format, result structure (group.format parameter).
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
Parameters:
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
Returns:
See also:
SolrQuery::addGroupFunction() -
SolrQuery::addGroupSortField() -
SolrQuery::setGroupNGroups() -
Please login to continue.