You are here

public function SolrConnectorPluginBase::getSelectQuery in Search API Solr 4.x

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

Creates a new Solarium update query.

Return value

\Solarium\QueryType\Select\Query\Query The Select query.

Overrides SolrConnectorInterface::getSelectQuery

1 call to SolrConnectorPluginBase::getSelectQuery()
StandardSolrCloudConnector::getSelectQuery in src/Plugin/SolrConnector/StandardSolrCloudConnector.php
Creates a new Solarium update query.
1 method overrides SolrConnectorPluginBase::getSelectQuery()
StandardSolrCloudConnector::getSelectQuery in src/Plugin/SolrConnector/StandardSolrCloudConnector.php
Creates a new Solarium update query.

File

src/SolrConnector/SolrConnectorPluginBase.php, line 772

Class

SolrConnectorPluginBase
Defines a base class for Solr connector plugins.

Namespace

Drupal\search_api_solr\SolrConnector

Code

public function getSelectQuery() {
  $this
    ->connect();
  return $this->solr
    ->createSelect();
}