public function SolrCloudConnectorInterface::graph in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrCloudConnectorInterface.php \Drupal\search_api_solr\SolrCloudConnectorInterface::graph()
- 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_solrCode
public function graph(GraphQuery $query, ?Endpoint $endpoint = NULL);