You are here

public function StandardSolrCloudConnector::graph in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::graph()
  2. 4.x src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::graph()

Executes a stream query.

Parameters

\Solarium\QueryType\Graph\Query $query:

\Solarium\Core\Client\Endpoint|null $endpoint:

Return value

\Solarium\QueryType\Graph\Result

Overrides SolrCloudConnectorInterface::graph

File

src/Plugin/SolrConnector/StandardSolrCloudConnector.php, line 121

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function graph(GraphQuery $query, Endpoint $endpoint = NULL) {
  return $this
    ->execute($query, $endpoint);
}