SolrQuery::setStats
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Enables or disables the Stats component
Description
SolrQuery::setStats(bool $flag): SolrQuery
Enables or disables the Stats component.
Parameters
flagtrue turns on the stats component and false disables it.
Return Values
Returns the current SolrQuery object, if the return value is used.