You are here

public function SolrConnectorPluginBase::isJumpStartConfigSet in Search API Solr 4.x

Indicates if the Solr config-set is our jum-start config-set.

Parameters

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

Return value

bool The targeted Solr branch.

Throws

\Drupal\search_api_solr\SearchApiSolrException

Overrides SolrConnectorInterface::isJumpStartConfigSet

File

src/SolrConnector/SolrConnectorPluginBase.php, line 546

Class

SolrConnectorPluginBase
Defines a base class for Solr connector plugins.

Namespace

Drupal\search_api_solr\SolrConnector

Code

public function isJumpStartConfigSet(bool $reset = FALSE) : bool {
  $parts = explode('-', $this
    ->getSchemaVersionString($reset));
  return (bool) ($parts[4] ?? 0);
}