php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::setGroupNGroups

SolrQuery::setGroupNGroups

PHP function Edit on GitHub ✎

(PECL solr >= 2.2.0)

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

Description

SolrQuery::setGroupNGroups(bool $value): SolrQuery

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

Parameters

value

Return Values

See Also

  • SolrQuery::setGroup
  • SolrQuery::addGroupField
  • SolrQuery::addGroupFunction
  • SolrQuery::addGroupQuery
  • SolrQuery::addGroupSortField
  • SolrQuery::setGroupFacet
  • SolrQuery::setGroupOffset
  • SolrQuery::setGroupLimit
  • SolrQuery::setGroupMain
  • SolrQuery::setGroupTruncate
  • SolrQuery::setGroupFormat
  • SolrQuery::setGroupCachePercent

Source: reference/solr/solrquery/setgroupngroups.xml · from the official PHP manual (php/doc-en)