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 deque inserts values at a given indexphp deque returns a sub deque of a given rangephp sequence determines if the sequence contains given valuesphp spl 函数 return the traits used by the given classphp cubrid mysql 兼容性函数 return an array with the lengths of the values of each field from the current rowphp gupnp 函数 sets the specified action return valuesphp snmp 函数 return all objects including their respective object id within the specified onephp statistic 函数 calculates any one parameter of the poisson distribution given values for the othersphp statistic 函数 calculates any one parameter of the t distribution given values for the othersphp mnogosearch 函数 return hash32 checksum of given stringphp sdo 函数 get the old values for a given changed sdo dataobjectphp 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 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 value of the facet.date.hardend parameterphp solrquery returns the group.facet parameter valuephp solrquery removes one of the facet.date parametersphp solrquery maps to the facet parameter. enables or disables facettingphp solrquery specifies the number of results to return for each group. the server default value is 1php solrquery exclude the header from the returned results
关注编程学问公众号