public SolrQuery SolrQuery::setStats    ( bool $flag   )

SolrQuery::setStatsEnables or disables the Stats component

flag

TRUE turns on the stats component and FALSE disables it.