public function StandardSolrCloudConnector::getTermsQuery in Search API Solr 8.3
Same name and namespace in other branches
- 4.x src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::getTermsQuery()
Creates a new Solarium terms query.
Return value
\Solarium\QueryType\Terms\Query The Terms query.
Overrides SolrConnectorPluginBase::getTermsQuery
File
- src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php, line 239
Class
- StandardSolrCloudConnector
- Standard Solr Cloud connector.
Namespace
Drupal\search_api_solr\Plugin\SolrConnectorCode
public function getTermsQuery() {
$query = parent::getTermsQuery();
return $query
->setDistrib(TRUE);
}