You are here

public function StandardSolrCloudConnector::stream 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::stream()
  2. 4.x src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::stream()

Executes a stream query.

Parameters

\Solarium\QueryType\Stream\Query $query:

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

Return value

\Solarium\QueryType\Stream\Result

Overrides SolrCloudConnectorInterface::stream

File

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

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

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