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

说明

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.

参数

value

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

返回值

Returns an instance of SolrQuery.

参见

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有