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

SolrQuery::setGroupFormat

PHP function Edit on GitHub ✎

(PECL solr >= 2.2.0)

Sets the group format, result structure (group.format parameter)

Description

SolrQuery::setGroupFormat(string $value): SolrQuery

Sets the group.format parameter. If this parameter is set to simple, the grouped documents are presented in a single flat list, and the start and rows parameters affect the numbers of documents instead of groups. Accepts: grouped/simple

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::setGroupNGroups
  • SolrQuery::setGroupTruncate
  • SolrQuery::setGroupCachePercent

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