PHP
Solr

SolrQuery::getGroupMain

SolrQuery::getGroupMain

(PECL solr >= 2.2.0)

SolrQuery::getGroupMain — Returns the group.main value

Description

public bool SolrQuery::getGroupMain ( void )

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.

← SolrQuery::getGroupLimit

SolrQuery::getGroupNGroups →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrquery.getgroupmain.php