= 0.9.2)SolrQuery::addStatsField — Maps to stats.field parameter說明public SolrQuery::addStatsField(string $field): ">

SolrQuery::addStatsField

(PECL solr >= 0.9.2)

SolrQuery::addStatsFieldMaps to stats.field parameter

說明

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

Maps to stats.field parameter This methods adds another stats.field parameter.

參數(shù)

field

The name of the field

返回值

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