You are here

public function SolrConnectorInterface::executeRequest in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::executeRequest()
  2. 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::executeRequest()
  3. 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::executeRequest()

Executes a request and returns the response.

Parameters

\Solarium\Core\Client\Request $request: The Solarium request object.

\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.

Return value

\Solarium\Core\Client\Response The Solarium response object.

Throws

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrConnectorInterface::executeRequest()
SolrConnectorPluginBase::executeRequest in src/SolrConnector/SolrConnectorPluginBase.php
Executes a request and returns the response.

File

src/SolrConnectorInterface.php, line 463

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function executeRequest(Request $request, ?Endpoint $endpoint = NULL);