public function SolrConnectorPluginBase::getEndpoint 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::getEndpoint()
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getEndpoint()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getEndpoint()
Returns an endpoint.
Parameters
string $key: The endpoint ID.
Return value
\Solarium\Core\Client\Endpoint The Solarium endpoint object.
Throws
\Solarium\Exception\OutOfBoundsException
Overrides SolrConnectorInterface::getEndpoint
1 call to SolrConnectorPluginBase::getEndpoint()
- StandardSolrCloudConnector::getCheckpointsCollectionEndpoint in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Returns the Solr collection endpoint used to store topic checkpoints.
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 1185
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getEndpoint($key = 'search_api_solr') {
$this
->connect();
return $this->solr
->getEndpoint($key);
}