public function SolrConnectorPluginBase::getSchemaVersionString in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getSchemaVersionString()
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getSchemaVersionString()
- 8.2 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.
Throws
\Drupal\search_api_solr\SearchApiSolrException
Overrides SolrConnectorInterface::getSchemaVersionString
4 calls to SolrConnectorPluginBase::getSchemaVersionString()
- SolrConnectorPluginBase::getSchemaTargetedSolrBranch in src/
SolrConnector/ SolrConnectorPluginBase.php - Gets the Solr branch targeted by the schema.
- 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.
- SolrConnectorPluginBase::isJumpStartConfigSet in src/
SolrConnector/ SolrConnectorPluginBase.php - Indicates if the Solr config-set is our jum-start config-set.
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 523
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getSchemaVersionString($reset = FALSE) {
return $this
->getCoreInfo($reset)['core']['schema'];
}