public function SolrConnectorPluginBase::getSchemaTargetedSolrBranch in Search API Solr 4.x
Gets the Solr branch targeted by the schema.
Parameters
bool $reset: If TRUE the server will be asked regardless if a previous call is cached.
Return value
string The targeted Solr branch.
Throws
\Drupal\search_api_solr\SearchApiSolrException
Overrides SolrConnectorInterface::getSchemaTargetedSolrBranch
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 538
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getSchemaTargetedSolrBranch($reset = FALSE) {
$parts = explode('-', $this
->getSchemaVersionString($reset));
return $parts[3];
}