You are here

public function StandardSolrCloudConnector::stream in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 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: The Solarium stream query.

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

Return value

\Solarium\QueryType\Stream\Result The Solarium stream result.

Throws

\Drupal\search_api_solr\SearchApiSolrException

Overrides SolrCloudConnectorInterface::stream

File

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

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);
}