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
Description
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
valueIf 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::setGroupSolrQuery::addGroupFieldSolrQuery::addGroupFunctionSolrQuery::addGroupQuerySolrQuery::addGroupSortFieldSolrQuery::setGroupFacetSolrQuery::setGroupOffsetSolrQuery::setGroupMainSolrQuery::setGroupNGroupsSolrQuery::setGroupTruncateSolrQuery::setGroupFormatSolrQuery::setGroupCachePercent