PHP 8.4.0 RC4 available for testing

SolrQuery::setStats

(PECL solr >= 0.9.2)

SolrQuery::setStatsEnables or disables the Stats component

Description

public 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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top