array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrquery.setgroupmain.php', 1 => 'SolrQuery::setGroupMain', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setgrouplimit.php', 1 => 'SolrQuery::setGroupLimit', ), 'next' => array ( 0 => 'solrquery.setgroupngroups.php', 1 => 'SolrQuery::setGroupNGroups', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/setgroupmain.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 2.2.0)
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
If true
, the result of the first field grouping command is used as the main result list in the response, using group.format=simple
.
value
If true
, the result of the first field grouping command is used as the main result list in the response.
Returns an instance of SolrQuery.