You are here

protected function PantheonSolrConnector::getDataFromHandler in Search API Pantheon 8

File

src/Plugin/SolrConnector/PantheonSolrConnector.php, line 193
Provide a connection to Pantheon's Solr instance.

Class

PantheonSolrConnector
Standard Solr connector.

Namespace

Drupal\search_api_pantheon\Plugin\SolrConnector

Code

protected function getDataFromHandler($endpoint, $handler, $reset = FALSE) {

  // First make sure the server is up.
  // If a multidev environment has just been made,
  // it may be necessary to post the schema.
  $this
    ->pingServer();
  return parent::getDataFromHandler($endpoint, $handler, $reset = FALSE);
}