略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SolrQuery::setGroupMain

2026-09-29

SolrQuery::setGroupMain

(PECL solr >= 2.2.0)

SolrQuery::setGroupMain — If 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.

参见

+添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/solrquery.setgroupmain.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3