public function SolrConnectorPluginBase::getTermsQuery in Search API Solr 8
Same name and namespace in other branches
- 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getTermsQuery()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getTermsQuery()
- 4.x src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getTermsQuery()
Creates a new Solarium terms query.
Return value
\Solarium\QueryType\Terms\Query The Select query.
Overrides SolrConnectorInterface::getTermsQuery
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 694
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getTermsQuery() {
$this
->connect();
return $this->solr
->createTerms();
}