You are here

public function StandardSolrCloudConnector::getSelectQuery in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::getSelectQuery()

Creates a new Solarium update query.

Return value

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

Overrides SolrConnectorPluginBase::getSelectQuery

File

src/Plugin/SolrConnector/StandardSolrCloudConnector.php, line 223

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function getSelectQuery() {
  $query = parent::getSelectQuery();
  return $query
    ->setDistrib(TRUE);
}