You are here

public function SolrBackendInterface::getCollectionEndpoint in Search API Solr 8.3

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

Returns the endpoint to use for the index.

In case of Solr Cloud an index might use a different Solr collection.

Parameters

\Drupal\search_api\IndexInterface $index:

Return value

\Solarium\Core\Client\Endpoint

Throws

\Drupal\Component\Plugin\Exception\PluginException

\Drupal\search_api\SearchApiException

1 method overrides SolrBackendInterface::getCollectionEndpoint()
SearchApiSolrBackend::getCollectionEndpoint in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Returns the endpoint to use for the index.

File

src/SolrBackendInterface.php, line 201

Class

SolrBackendInterface
Defines an interface for Solr search backend plugins.

Namespace

Drupal\search_api_solr

Code

public function getCollectionEndpoint(IndexInterface $index);