SolrQuery::setGroupMain

(PECL solr >= 2.2.0)

SolrQuery::setGroupMainIf 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::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

返回值

参见

参见

相关文章
php phar returns true if the phar archive is based on the tar/phar/zip file format depending on the parameterphp solrquery overrides main filter query determines which documents to include in the main groupphp solrquery add a field to be used to group resultsphp solrquery add a group sort field group.sort parameter php solrquery collapses the result set to a single document per groupphp solrquery returns true if group expanding is enabledphp solrquery returns the lower bound for the first date range for all date faceting on this fieldphp solrquery returns an offset into the list of constraints to be used for paginationphp solrquery returns true if grouping is enabledphp solrquery returns group fields group.field parameter values php solrquery returns the group.format valuephp solrquery returns the group.main valuephp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery removes a field from the list of fieldsphp solrquery enable/disable result grouping group parameter php solrquery enables caching for result groupingphp solrquery sets the group format result structure group.format parameter php solrquery if true the result of the first field grouping command is used as the main result list in the response using group.format=simplephp solrquery if true solr includes the number of groups that have matched the query in the resultsphp solrquery if true facet counts are based on the most relevant document of each group matching the query
关注编程学问公众号