You are here

protected function PantheonSolrConnector::postSchema in Search API Pantheon 8

Post the configured schema file to the Solr Service.

2 calls to PantheonSolrConnector::postSchema()
PantheonSolrConnector::pingServer in src/Plugin/SolrConnector/PantheonSolrConnector.php
PantheonSolrConnector::submitConfigurationForm in src/Plugin/SolrConnector/PantheonSolrConnector.php

File

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

Class

PantheonSolrConnector
Standard Solr connector.

Namespace

Drupal\search_api_pantheon\Plugin\SolrConnector

Code

protected function postSchema() {
  return $this->schemaPoster
    ->postSchema($this->configuration['schema']);
}