SolrQuery::addGroupField

(PECL solr >= 2.2.0)
Add a field to be used to group results.
public SolrQuery SolrQuery::addGroupField ( string $value )

The name of the field by which to group results. The field must be single-valued, and either be indexed or a field type that has a value source and works in a function query, such as ExternalFileField. It must also be a string-based field, such as StrField or TextField Uses group.field parameter

Parameters:
value

The name of the field by which to group results. The field must be single-valued, and either be indexed or a field type that has a value source and works in a function query, such as ExternalFileField. It must also be a string-based field, such as StrField or TextField Uses group.field parameter

See also:

SolrQuery::setGroup() -

SolrQuery::addGroupFunction() -

SolrQuery::addGroupQuery() -

SolrQuery::addGroupSortField() -

SolrQuery::setGroupFacet() -

SolrQuery::setGroupOffset() -

SolrQuery::setGroupLimit() -

SolrQuery::setGroupMain() -

SolrQuery::setGroupNGroups() -

SolrQuery::setGroupTruncate() -

SolrQuery::setGroupFormat() -

SolrQuery::setGroupCachePercent() -

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

Please login to continue.