You are here

protected function SearchApiElasticsearchBackend::postQuery in Elasticsearch Connector 8.6

Same name and namespace in other branches
  1. 8.7 src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php \Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::postQuery()
  2. 8.5 src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php \Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::postQuery()

Allow custom changes before search results are returned for subclasses.

Parameters

\Drupal\search_api\Query\ResultSetInterface $results: The results array that will be returned for the search.

\Drupal\search_api\Query\QueryInterface $query: The \Drupal\search_api\Query\Query object representing the executed search query.

object $response: The response object returned by Elasticsearch.

1 call to SearchApiElasticsearchBackend::postQuery()
SearchApiElasticsearchBackend::search in src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php
Executes a search on this server.

File

src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php, line 1142

Class

SearchApiElasticsearchBackend
Elasticsearch Search API Backend definition.

Namespace

Drupal\elasticsearch_connector\Plugin\search_api\backend

Code

protected function postQuery(ResultSetInterface $results, QueryInterface $query, $response) {
}