(PECL solr >= 2.2.0)
Sets group.facet parameter
public SolrQuery SolrQuery::setGroupFacet ( bool $value )
Determines whether to compute grouped facets for the field facets specified in facet.field parameters. Grouped facets are computed based on the first specified group.
Parameters:
value
Determines whether to compute grouped facets for the field facets specified in facet.field parameters. Grouped facets are computed based on the first specified group.
Returns:
See also:
SolrQuery::addGroupFunction() -
SolrQuery::addGroupSortField() -
SolrQuery::setGroupNGroups() -
Please login to continue.