public function StandardSolrCloudConnector::stream in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::stream()
- 8.2 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 282
Class
- StandardSolrCloudConnector
- Standard Solr Cloud connector.
Namespace
Drupal\search_api_solr\Plugin\SolrConnectorCode
public function stream(StreamQuery $query, ?Endpoint $endpoint = NULL) {
$this
->useTimeout(self::QUERY_TIMEOUT, $endpoint);
return $this
->execute($query, $endpoint);
}