PHP 8.0.26 Released!

SolrQuery::setGroupMain

(PECL solr >= 2.2.0)

SolrQuery::setGroupMainIf true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple

Descripción

public SolrQuery::setGroupMain(string $value): SolrQuery

If true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple.

Parámetros

value

If true, the result of the first field grouping command is used as the main result list in the response.

Valores devueltos

Returns an instance of SolrQuery.

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top