SolrQuery::setStats
  Enables or disables the Stats component
  
 
  Description
  
   public SolrQuery SolrQuery::setStats(bool $flag)
  
  
 
  Parameters
  
   
    
     - 
flag
- 
      
      trueturns on the stats component andfalsedisables it.
 
 
 
  Return Values
  
   Returns the current SolrQuery object, if the return value is used.