« SolrQuery::setGroupLimit
SolrQuery::setGroupNGroups »

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 function 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.

参考

関連キーワード:
SolrQuery   group   grouping   used   format   parameter   first   command   main   list   response   using   setGroupMain   query   results   Sets   setGroupNGroups   Allows   based   sort   facet   setGroupLimit   solr   instance   参考
関連する関数・ページ:
solrquery.setgroup   solrquery.setgroupoffset   solrquery.addgroupfield   solrquery.setgroupformat   solrquery.setgrouplimit   solrquery.addgroupquery