You are here

public function SolrConnectorInterface::execute in Search API Solr 8.2

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

Executes any query.

Parameters

\Solarium\Core\Query\QueryInterface $query:

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

Return value

\Solarium\Core\Query\Result\ResultInterface

Throws

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrConnectorInterface::execute()
SolrConnectorPluginBase::execute in src/SolrConnector/SolrConnectorPluginBase.php
Executes any query.

File

src/SolrConnectorInterface.php, line 326

Class

SolrConnectorInterface

Namespace

Drupal\search_api_solr

Code

public function execute(QueryInterface $query, Endpoint $endpoint = NULL);