You are here

public function SolrConnectorInterface::search in Search API Solr 8

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

Executes a search query and returns the raw response.

Parameters

\Solarium\QueryType\Select\Query\Query $query:

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

Return value

\Solarium\Core\Client\Response

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

File

src/SolrConnectorInterface.php, line 273

Class

SolrConnectorInterface

Namespace

Drupal\search_api_solr

Code

public function search(Query $query, Endpoint $endpoint = NULL);