SolrQuery::setGroupMain
If true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple
Description
public SolrQuery SolrQuery::setGroupMain(string $value
)
Parameters
-
value
-
If true
, the result of the first field grouping command is used as the main result list in the response.
Return Values
Returns an instance of SolrQuery.
See Also
- SolrQuery::setGroup
- SolrQuery::addGroupField
- SolrQuery::addGroupFunction
- SolrQuery::addGroupQuery
- SolrQuery::addGroupSortField
- SolrQuery::setGroupFacet
- SolrQuery::setGroupOffset
- SolrQuery::setGroupMain
- SolrQuery::setGroupNGroups
- SolrQuery::setGroupTruncate
- SolrQuery::setGroupFormat
- SolrQuery::setGroupCachePercent