You are here

public function SolrConnectorInterface::createSearchResult in Search API Solr 8.3

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

Creates a result from a response.

Parameters

\Solarium\Core\ConfigurableInterface|QueryInterface $query: The Solarium query object.

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

Return value

\Solarium\Core\Query\Result\ResultInterface The Solarium result object.

1 method overrides SolrConnectorInterface::createSearchResult()
SolrConnectorPluginBase::createSearchResult in src/SolrConnector/SolrConnectorPluginBase.php
Creates a result from a response.

File

src/SolrConnectorInterface.php, line 344

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function createSearchResult(QueryInterface $query, Response $response);