SolrQuery::setGroupTruncate

If true, facet counts are based on the most relevant document of each group matching the query

Description

public SolrQuery SolrQuery::setGroupTruncate(bool $value)

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::setGroup
  • SolrQuery::addGroupField
  • SolrQuery::addGroupFunction
  • SolrQuery::addGroupQuery
  • SolrQuery::addGroupSortField
  • SolrQuery::setGroupFacet
  • SolrQuery::setGroupOffset
  • SolrQuery::setGroupLimit
  • SolrQuery::setGroupMain
  • SolrQuery::setGroupNGroups
  • SolrQuery::setGroupFormat
  • SolrQuery::setGroupCachePercent