SolrQuery::getGroupMain

(PECL solr >= 2.2.0)

SolrQuery::getGroupMainReturns the group.main value

说明

public SolrQuery::getGroupMain(): bool

Returns the group.main value

参数

此函数没有参数。

返回值

参见

  • 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