array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.setgroupngroups.php', 1 => 'SolrQuery::setGroupNGroups', 2 => 'If true, Solr includes the number of groups that have matched the query in the results', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setgroupmain.php', 1 => 'SolrQuery::setGroupMain', ), 'next' => array ( 0 => 'solrquery.setgroupoffset.php', 1 => 'SolrQuery::setGroupOffset', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/setgroupngroups.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::setGroupNGroups

(PECL solr >= 2.2.0)

SolrQuery::setGroupNGroupsIf true, Solr includes the number of groups that have matched the query in the results

说明

public SolrQuery::setGroupNGroups(bool $value): SolrQuery

If true, Solr includes the number of groups that have matched the query in the results.

参数

value

返回值

参见