You are here

protected function SubscriberCommon::getElasticSearchQueryResponse in Acquia Content Hub 8

Obtains an Elasticsearch query response.

1 call to SubscriberCommon::getElasticSearchQueryResponse()
SubscriberCommon::executeFilter in acquia_contenthub_subscriber/src/SubscriberCommon.php
Execute a given filter and return the retrieved entities.

File

acquia_contenthub_subscriber/src/SubscriberCommon.php, line 158

Class

SubscriberCommon
Common methods for subscriber audit.

Namespace

Drupal\acquia_contenthub_subscriber

Code

protected function getElasticSearchQueryResponse(ContentHubFilterInterface $filter, $asset_uuid, $asset_type, array $options = []) {
  return $this->search
    ->executeSearchQuery($this->generator
    ->getElasticSearchQuery($filter, $asset_uuid, $asset_type, $options));
}