SolrQuery::setGroupTruncate
PHP function
Edit on GitHub ✎
(PECL solr >= 2.2.0)
If true, facet counts are based on the most relevant document of each group matching the query
Description
SolrQuery::setGroupTruncate(bool $value): SolrQuery
If true, facet counts are based on the most relevant document of each group matching the query. The server default value is false. group.truncate parameter
Parameters
value
Return Values
See Also
SolrQuery::setGroupSolrQuery::addGroupFieldSolrQuery::addGroupFunctionSolrQuery::addGroupQuerySolrQuery::addGroupSortFieldSolrQuery::setGroupFacetSolrQuery::setGroupOffsetSolrQuery::setGroupLimitSolrQuery::setGroupMainSolrQuery::setGroupNGroupsSolrQuery::setGroupFormatSolrQuery::setGroupCachePercent