You are here

public function SolrCloudConnectorInterface::graph in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrCloudConnectorInterface.php \Drupal\search_api_solr\SolrCloudConnectorInterface::graph()
  2. 8.2 src/SolrCloudConnectorInterface.php \Drupal\search_api_solr\SolrCloudConnectorInterface::graph()

Executes a graph query.

Parameters

\Solarium\QueryType\Graph\Query $query: The Solarium graph query.

\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint.

Return value

\Solarium\QueryType\Graph\Result The Solarium graph result.

Throws

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrCloudConnectorInterface::graph()
StandardSolrCloudConnector::graph in src/Plugin/SolrConnector/StandardSolrCloudConnector.php
Executes a graph query.

File

src/SolrCloudConnectorInterface.php, line 202

Class

SolrCloudConnectorInterface
The Solr Cloud connector interface.

Namespace

Drupal\search_api_solr

Code

public function graph(GraphQuery $query, ?Endpoint $endpoint = NULL);