phpday 2027 - Call for Papers

SolrQuery::setStats

(PECL solr >= 0.9.2)

SolrQuery::setStats — Enables or disables the Stats component

Description

public function SolrQuery::setStats(bool $flag): SolrQuery

Enables or disables the Stats component.

Parameters

flag

true turns on the stats component and false disables it.

Return Values

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top