You are here

public function Drupal_Apache_Solr_Service::getLuke in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 Drupal_Apache_Solr_Service.php \Drupal_Apache_Solr_Service::getLuke()
  2. 6.2 Drupal_Apache_Solr_Service.php \Drupal_Apache_Solr_Service::getLuke()

Get meta-data about the index.

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

File

./Drupal_Apache_Solr_Service.php, line 77

Class

Drupal_Apache_Solr_Service

Code

public function getLuke($num_terms = 0) {
  if (!isset($this->luke[$num_terms])) {
    $this
      ->setLuke($num_terms);
  }
  return $this->luke[$num_terms];
}