SolrQuery::addGroupFunction

(PECL solr >= 2.2.0)

SolrQuery::addGroupFunctionAllows grouping results based on the unique values of a function query (group.func parameter)

说明

public SolrQuery::addGroupFunction ( string $value ) : SolrQuery

Adds a group function (group.func parameter) Allows grouping results based on the unique values of a function query.

参数

value

返回值

SolrQuery

参见

相关文章
php sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graphphp 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 allows grouping results based on the unique values of a function query group.func parameter php solrquery allows grouping of documents that match the given queryphp solrquery requests a return of sub results for values within the given facetphp solrquery returns the expand query expand.q parameterphp solrquery returns the group.facet parameter valuephp solrquery returns group fields group.field parameter values php solrquery returns group functions group.func parameter values php solrquery returns all the group.query parameter valuesphp solrquery sets the explainother common query parameterphp solrquery enable/disable result grouping group parameter php solrquery sets group.facet parameterphp solrquery sets the group format result structure group.format parameter php solrquery specifies the number of results to return for each group. the server default value is 1php 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 sets the group.offset parameterphp solrquery if true facet counts are based on the most relevant document of each group matching the query
关注编程学问公众号