You are here

public function StandardSolrCloudConnector::getGraphQuery in Search API Solr 4.x

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

Creates a new Solarium graph query.

Return value

\Solarium\QueryType\Graph\Query The Graph query.

Overrides SolrCloudConnectorInterface::getGraphQuery

File

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

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function getGraphQuery() {
  $this
    ->connect();
  return $this->solr
    ->createGraph();
}