You are here

public function DrupalApacheSolrService::getSystemInfo in Apache Solr Search 7

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

Get information about the Solr Core.

Return value

(string) system info encoded in json

Overrides DrupalApacheSolrServiceInterface::getSystemInfo

2 calls to DrupalApacheSolrService::getSystemInfo()
DrupalApacheSolrService::getSolrVersion in ./Drupal_Apache_Solr_Service.php
Get the current solr version. This could be 1, 3 or 4
DrupalApacheSolrService::getStatsSummary in ./Drupal_Apache_Solr_Service.php
Get summary information about the Solr Core.

File

./Drupal_Apache_Solr_Service.php, line 199

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 getSystemInfo() {
  if (!isset($this->system_info)) {
    $this
      ->setSystemInfo();
  }
  return $this->system_info;
}