SolrQuery::getGroupMain

(PECL solr >= 2.2.0)

SolrQuery::getGroupMainReturns the group.main value

Description

public SolrQuery::getGroupMain ( ) : bool

Returns the group.main value

Parameters

This function has no parameters.

Return Values

See Also

  • 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

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrquery.getgroupmain.php