public function SolrConnectorPluginBase::extract in Search API Solr 8
Same name and namespace in other branches
- 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::extract()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::extract()
- 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:
Return value
\Solarium\QueryType\Extract\Result
Overrides SolrConnectorInterface::extract
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 936
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function extract(QueryInterface $query) {
$this
->useTimeout(self::INDEX_TIMEOUT);
return $this
->execute($query);
}