public function SolrConnectorInterface::execute in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::execute()
- 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::execute()
- 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::execute()
Executes any query.
Parameters
\Solarium\Core\Query\QueryInterface $query: The Solarium query object.
\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.
Return value
\Solarium\Core\Query\Result\ResultInterface The Solarium result object.
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 448
Class
- SolrConnectorInterface
- The Solr connector interface.
Namespace
Drupal\search_api_solrCode
public function execute(QueryInterface $query, ?Endpoint $endpoint = NULL);