You are here

public function DrupalApacheSolrService::getFields in Apache Solr Search 7

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

Get just the field meta-data about the index.

Overrides DrupalApacheSolrServiceInterface::getFields

File

./Drupal_Apache_Solr_Service.php, line 237

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 getFields($num_terms = 0) {
  return $this
    ->getLuke($num_terms)->fields;
}