You are here

public function SolrConnectorInterface::getSchemaVersion in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getSchemaVersion()
  2. 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getSchemaVersion()
  3. 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getSchemaVersion()

Gets the schema version number.

Parameters

bool $reset: If TRUE the server will be asked regardless if a previous call is cached.

Return value

string The schema version number.

Throws

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrConnectorInterface::getSchemaVersion()
SolrConnectorPluginBase::getSchemaVersion in src/SolrConnector/SolrConnectorPluginBase.php
Gets the schema version number.

File

src/SolrConnectorInterface.php, line 170

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function getSchemaVersion($reset = FALSE);