SolrQuery::setGroupTruncate

(PECL solr >= 2.2.0)
If true, facet counts are based on the most relevant document of each group matching the query.
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

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

Returns:
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() -

doc_php
2016-02-24 16:11:34
Comments
Leave a Comment

Please login to continue.