You are here

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

Creates a new Solarium stream query.

Return value

\Solarium\QueryType\Stream\Query The Stream query.

Overrides SolrCloudConnectorInterface::getStreamQuery

File

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

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function getStreamQuery() {
  $this
    ->connect();
  return $this->solr
    ->createStream();
}