Php/docs/solrquery.setgroupformat

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::setGroupFormat

(PECL solr >= 2.2.0)

SolrQuery::setGroupFormatSets the group format, result structure (group.format parameter)


说明

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

Sets the group.format parameter. If this parameter is set to simple, the grouped documents are presented in a single flat list, and the start and rows parameters affect the numbers of documents instead of groups. Accepts: grouped/simple


参数

value


返回值

参见