You are here

public function SolrConnectorInterface::getQueryHelper in Search API Solr 4.x

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

Returns a Solarium query helper object.

Parameters

\Solarium\Core\Query\QueryInterface|null $query: (optional) A Solarium query object.

Return value

\Solarium\Core\Query\Helper A Solarium query helper.

1 method overrides SolrConnectorInterface::getQueryHelper()
SolrConnectorPluginBase::getQueryHelper in src/SolrConnector/SolrConnectorPluginBase.php
Returns a Solarium query helper object.

File

src/SolrConnectorInterface.php, line 375

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function getQueryHelper(QueryInterface $query = NULL);