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 )

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

Return Values

See Also

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