You are here

public function SolrConnectorPluginBase::extract in Search API Solr 8.2

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

Executes an extract query.

Parameters

\Solarium\Core\Query\QueryInterface|\Solarium\QueryType\Extract\Query $query:

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

Return value

\Solarium\QueryType\Extract\Result

Overrides SolrConnectorInterface::extract

File

src/SolrConnector/SolrConnectorPluginBase.php, line 961

Class

SolrConnectorPluginBase
Defines a base class for Solr connector plugins.

Namespace

Drupal\search_api_solr\SolrConnector

Code

public function extract(QueryInterface $query, Endpoint $endpoint = NULL) {
  return $this
    ->execute($query, $endpoint);
}