SolrQuery
PHP Manual

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 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

Liste de paramètres

value

Valeurs de retour

Voir aussi


SolrQuery
PHP Manual