public function SolrConnectorPluginBase::getExtractQuery 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::getExtractQuery()
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getExtractQuery()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getExtractQuery()
Creates a new Solarium extract query.
Return value
\Solarium\QueryType\Extract\Query The Extract query.
Overrides SolrConnectorInterface::getExtractQuery
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 832
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getExtractQuery() {
$this
->connect();
return $this->solr
->createExtract();
}