You are here

public function SolrConnectorPluginBase::getLuke in Search API Solr 8.3

Same name and namespace in other branches
  1. 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getLuke()
  2. 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getLuke()
  3. 4.x src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getLuke()

Gets meta-data about the index.

Return value

object A response object filled with data from Solr's Luke.

Throws

\Drupal\search_api_solr\SearchApiSolrException

Overrides SolrConnectorInterface::getLuke

File

src/SolrConnector/SolrConnectorPluginBase.php, line 467

Class

SolrConnectorPluginBase
Defines a base class for Solr connector plugins.

Namespace

Drupal\search_api_solr\SolrConnector

Code

public function getLuke() {
  $this
    ->useTimeout();
  return $this
    ->getDataFromHandler($this->configuration['core'] . '/admin/luke', TRUE);
}