public function SolrConnectorPluginBase::createSearchResult 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::createSearchResult()
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::createSearchResult()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::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.
Overrides SolrConnectorInterface::createSearchResult
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 885
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function createSearchResult(QueryInterface $query, Response $response) {
return $this->solr
->createResult($query, $response);
}