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 inserts values at a given indexphp vector determines if the vector contains given valuesphp cubrid mysql 兼容性函数 return a string with the flags of the given field offsetphp snmp 函数 return all objects including their respective object id within the specified onephp spl 函数 return the integer object handle for given objectphp statistic 函数 calculates any one parameter of the cauchy distribution given values for the othersphp statistic 函数 calculates any one parameter of the chi square distribution given values for the othersphp statistic 函数 calculates any one parameter of the exponential 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 maps to facet.datephp solrquery adds another facet.date.other parameterphp solrquery adds another field to the facetphp 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 the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the value of the facet.method parameterphp solrquery returns the minimum counts for facet fields should be included in the responsephp solrquery maps to facet.date.startphp solrquery specifies the number of results to return for each group. the server default value is 1php solrquery if true facet counts are based on the most relevant document of each group matching the query
关注编程学问公众号