public function SolrConnectorInterface::extract in Search API Solr 8.3
Same name and namespace in other branches
- 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::extract()
- 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::extract()
- 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::extract()
Executes an extract query.
Parameters
\Solarium\Core\Query\QueryInterface|\Solarium\QueryType\Extract\Query $query: The Solarium extract query object.
\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.
Return value
\Solarium\QueryType\Extract\Result The Solarium extract result object.
Throws
\Drupal\search_api_solr\SearchApiSolrException
1 method overrides SolrConnectorInterface::extract()
- SolrConnectorPluginBase::extract in src/
SolrConnector/ SolrConnectorPluginBase.php - Executes an extract query.
File
- src/
SolrConnectorInterface.php, line 414
Class
- SolrConnectorInterface
- The Solr connector interface.
Namespace
Drupal\search_api_solrCode
public function extract(QueryInterface $query, ?Endpoint $endpoint = NULL);