You are here

public function SolrConnectorPluginBase::getSchemaVersionString in Search API Solr 8

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

Gets the full schema version string the core is using.

Parameters

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

Return value

string The full schema version string.

Overrides SolrConnectorInterface::getSchemaVersionString

2 calls to SolrConnectorPluginBase::getSchemaVersionString()
SolrConnectorPluginBase::getSchemaVersion in src/SolrConnector/SolrConnectorPluginBase.php
Gets the schema version number.
SolrConnectorPluginBase::getStatsSummary in src/SolrConnector/SolrConnectorPluginBase.php
Gets summary information about the Solr Core.

File

src/SolrConnector/SolrConnectorPluginBase.php, line 452

Class

SolrConnectorPluginBase
Defines a base class for Solr connector plugins.

Namespace

Drupal\search_api_solr\SolrConnector

Code

public function getSchemaVersionString($reset = FALSE) {
  return $this
    ->getCoreInfo($reset)['core']['schema'];
}