SolrQuery::setGroupMain

(PECL solr >= 2.2.0) If true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple. public SolrQuery SolrQuery::setGroupMain ( string $value ) If true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple. Parameters: value If true,

SolrQuery::setGroupLimit

(PECL solr >= 2.2.0) Specifies the number of results to return for each group. The server default value is 1. public SolrQuery SolrQuery::setGroupLimit ( integer $value ) Specifies the number of results to return for each group. The server default value is 1. Parameters: value Specifies the number of results to return for each group. The server default value is 1.

SolrQuery::setGroupFormat

(PECL solr >= 2.2.0) Sets the group format, result structure (group.format parameter). public SolrQuery SolrQuery::setGroupFormat ( string $value ) Sets the group.format parameter. If this parameter is set to simple, the grouped documents are presented in a single flat list, and the start and rows parameters affect the numbers of documents instead of groups. Accepts: grouped/simple Parameters:

SolrQuery::setGroupFacet

(PECL solr >= 2.2.0) Sets group.facet parameter public SolrQuery SolrQuery::setGroupFacet ( bool $value ) Determines whether to compute grouped facets for the field facets specified in facet.field parameters. Grouped facets are computed based on the first specified group. Parameters: value Determines whether to compute grouped facets for the field facets specified in f

SolrQuery::setGroupCachePercent

(PECL solr >= 2.2.0) Enables caching for result grouping public SolrQuery SolrQuery::setGroupCachePercent ( integer $percent ) Setting this parameter to a number greater than 0 enables caching for result grouping. Result Grouping executes two searches; this option caches the second search. The server default value is 0. Testing has shown that group caching only improves search time with Boolean, wildcard, and fuzzy querie

SolrQuery::setGroup

(PECL solr >= 2.2.0) Enable/Disable result grouping (group parameter) public SolrQuery SolrQuery::setGroup ( bool $value ) Enable/Disable result grouping (group parameter) Parameters: value Enable/Disable result grouping (group parameter) Returns: See also: So

SolrQuery::setFacetSort

(PECL solr >= 0.9.2) Determines the ordering of the facet field constraints public SolrQuery SolrQuery::setFacetSort ( int $facetSort [, string $field_override ] ) Determines the ordering of the facet field constraints Parameters: facetSort Use SolrQuery::FACET_SORT_INDEX for sorting by index order or SolrQuery::FACET_SORT_COUNT for sorting by count.

SolrQuery::setFacetPrefix

(PECL solr >= 0.9.2) Specifies a string prefix with which to limits the terms on which to facet public SolrQuery SolrQuery::setFacetPrefix ( string $prefix [, string $field_override ] ) Specifies a string prefix with which to limits the terms on which to facet. Parameters: prefix The prefix string field_override The name of the field

SolrQuery::setFacetOffset

(PECL solr >= 0.9.2) Sets the offset into the list of constraints to allow for pagination public SolrQuery SolrQuery::setFacetOffset ( int $offset [, string $field_override ] ) Sets the offset into the list of constraints to allow for pagination. Parameters: offset The offset field_override The name of the field.

SolrQuery::setFacetMissing

(PECL solr >= 0.9.2) Maps to facet.missing public SolrQuery SolrQuery::setFacetMissing ( bool $flag [, string $field_override ] ) Used to indicate that in addition to the Term-based constraints of a facet field, a count of all matching results which have no value for the field should be computed Parameters: flag TRUE turns this feature on. FALSE disables it.