public function StandardSolrCloudConnector::getSelectQuery in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 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 306
Class
- StandardSolrCloudConnector
- Standard Solr Cloud connector.
Namespace
Drupal\search_api_solr\Plugin\SolrConnectorCode
public function getSelectQuery() {
$query = parent::getSelectQuery();
return $query
->setDistrib($this->configuration['distrib'] ?? TRUE);
}