You are here

public function SearchApiSolrConnection::getStats in Search API Solr 7

Gets information about the Solr core.

Return value

SimpleXMLElement A Simple XMl document.

Overrides SearchApiSolrConnectionInterface::getStats

1 call to SearchApiSolrConnection::getStats()
SearchApiSolrConnection::getStatsSummary in includes/solr_connection.inc
Gets summary information about the Solr Core.

File

includes/solr_connection.inc, line 441

Class

SearchApiSolrConnection
Represents a Solr server resource.

Code

public function getStats() {
  if (!isset($this->stats)) {
    $this
      ->setStats();
  }
  return $this->stats;
}