public function StreamingExpressionQueryHelper::getStreamingExpressionBuilder in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/Utility/StreamingExpressionQueryHelper.php \Drupal\search_api_solr\Utility\StreamingExpressionQueryHelper::getStreamingExpressionBuilder()
- 4.x src/Utility/StreamingExpressionQueryHelper.php \Drupal\search_api_solr\Utility\StreamingExpressionQueryHelper::getStreamingExpressionBuilder()
Parameters
\Drupal\search_api\Query\QueryInterface $query:
Return value
\Drupal\search_api_solr\Utility\StreamingExpressionBuilder
Throws
\Drupal\search_api\SearchApiException
\Drupal\search_api_solr\SearchApiSolrException
File
- src/
Utility/ StreamingExpressionQueryHelper.php, line 20
Class
- StreamingExpressionQueryHelper
- Provides methods for creating streaming expressions.
Namespace
Drupal\search_api_solr\UtilityCode
public function getStreamingExpressionBuilder(QueryInterface $query) {
return new StreamingExpressionBuilder($query
->getIndex());
}