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

Descrição

publicSolrQuery::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.

Valor Retornado

Returns an instance of SolrQuery.

Veja Também

To Top