PHP 8.1.31 Released!

SolrQuery::setGroupTruncate

(PECL solr >= 2.2.0)

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

Description

public 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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top