You are here

public function DrupalApacheSolrService::getStats in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::getStats()
  2. 7 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::getStats()

Get information about the Solr Core.

Returns a Simple XMl document

Overrides DrupalApacheSolrServiceInterface::getStats

1 call to DrupalApacheSolrService::getStats()
DrupalApacheSolrService::getStatsSummary in ./Drupal_Apache_Solr_Service.php
Get summary information about the Solr Core.

File

./Drupal_Apache_Solr_Service.php, line 303

Class

DrupalApacheSolrService
Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.

Code

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