Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrQuery::getGroupLimitSolrQuery::getGroupNGroups>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::getGroupMain

(PECL solr >= 2.2.0)

SolrQuery::getGroupMain — Returns the group.main value

Description

public function SolrQuery::getGroupMain(): bool

Returns the group.main value

Parameters

This function has no parameters.

Return Values

See Also

  • 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

<SolrQuery::getGroupLimitSolrQuery::getGroupNGroups>
^SolrQueryLast updated: Mon, 26 Oct 2026