You are here

public function DrupalApacheSolrService::getLuke in Apache Solr Search 8

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

Get meta-data about the index.

Overrides DrupalApacheSolrServiceInterface::getLuke

1 call to DrupalApacheSolrService::getLuke()
DrupalApacheSolrService::setStats in ./Drupal_Apache_Solr_Service.php
Sets $this->stats with the information about the Solr Core form

File

./Drupal_Apache_Solr_Service.php, line 243

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 getLuke($num_terms = 0) {
  if (!isset($this->luke[$num_terms])) {
    $this
      ->setLuke($num_terms);
  }
  return $this->luke[$num_terms];
}