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 determines if the sequence contains given valuesphp spl 函数 return the traits used by the given classphp 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 normal distribution given values for the othersphp 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.gap parameterphp solrquery returns the value of the facet.date.hardend parameterphp solrquery returns the group.facet parameter valuephp solrquery returns the number of similar documents to return for each resultphp solrquery removes one of the facet.date.other parametersphp solrquery removes one of the facet.date parametersphp solrquery maps to the facet parameter. enables or disables facettingphp solrquery sets group.facet parameterphp solrquery specifies the number of results to return for each group. the server default value is 1php solrquery exclude the header from the returned resultsphp solrquery return the raw characters of the indexed term
关注编程学问公众号