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 SolrQuery::setGroupMain(string $value
)
パラメータ
-
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::setGroup
- SolrQuery::addGroupField
- SolrQuery::addGroupFunction
- SolrQuery::addGroupQuery
- SolrQuery::addGroupSortField
- SolrQuery::setGroupFacet
- SolrQuery::setGroupOffset
- SolrQuery::setGroupMain
- SolrQuery::setGroupNGroups
- SolrQuery::setGroupTruncate
- SolrQuery::setGroupFormat
- SolrQuery::setGroupCachePercent