You are here

public function SolrCloudConnectorInterface::setCollectionNameFromEndpoint in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/SolrCloudConnectorInterface.php \Drupal\search_api_solr\SolrCloudConnectorInterface::setCollectionNameFromEndpoint()

Temporarily set a different collection name for the connection.

Parameters

\Solarium\Core\Client\Endpoint|null $endpoint: Solr endpoint.

1 method overrides SolrCloudConnectorInterface::setCollectionNameFromEndpoint()
StandardSolrCloudConnector::setCollectionNameFromEndpoint in src/Plugin/SolrConnector/StandardSolrCloudConnector.php
Temporarily set a different collection name for the connection.

File

src/SolrCloudConnectorInterface.php, line 28

Class

SolrCloudConnectorInterface
The Solr Cloud connector interface.

Namespace

Drupal\search_api_solr

Code

public function setCollectionNameFromEndpoint(Endpoint $endpoint);