SolrQuery::addStatsFacet

(PECL solr >= 0.9.2)

SolrQuery::addStatsFacetRequests a return of sub results for values within the given facet

说明

public SolrQuery::addStatsFacet ( string $field ) : SolrQuery

Requests a return of sub results for values within the given facet. Maps to the stats.facet field

参数

field

The name of the field

返回值

Returns the current SolrQuery object, if the return value is used.

相关文章
php sequence returns a sub sequence of a given rangephp vector returns the result of adding all given values to the vectorphp cubrid mysql 兼容性函数 return a numerical array with the values of the current rowphp statistic 函数 calculates any one parameter of the beta distribution given values for the othersphp statistic 函数 calculates any one parameter of the binomial distribution given values for the othersphp statistic 函数 calculates any one parameter of the uniform distribution given values for the othersphp statistic 函数 calculates any one parameter of the weibull distribution given values for the othersphp 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 orders the documents within the expanded groups expand.sort parameter php solrquery allows grouping results based on the unique values of a function query group.func parameter php solrquery requests a return of sub results for values within the given facetphp solrquery returns all the facet fieldsphp solrquery returns group functions group.func parameter values php solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of terms solr should returnphp solrquery maps to facet.date.gapphp solrquery maps to facet.date.hardendphp solrquery specifies the number of results to return for each group. the server default value is 1php solrquery if true solr includes the number of groups that have matched the query in the resultsphp solrquery specifies the maximum number of rows to return in the result
关注编程学问公众号