You are here

public function DrupalApacheSolrService::getSystemInfo in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::getSystemInfo()
  2. 7 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 198

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;
}