protected function SearchApiElasticsearchBackend::preQuery in Elasticsearch Connector 8.6
Same name and namespace in other branches
- 8.7 src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php \Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::preQuery()
- 8.5 src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php \Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::preQuery()
Allow custom changes before sending a search query to Elasticsearch.
This allows subclasses to apply custom changes before the query is sent to Elasticsearch.
Parameters
\Drupal\search_api\Query\QueryInterface $query: The \Drupal\search_api\Query\Query object representing the executed search query.
1 call to SearchApiElasticsearchBackend::preQuery()
- 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 1128
Class
- SearchApiElasticsearchBackend
- Elasticsearch Search API Backend definition.
Namespace
Drupal\elasticsearch_connector\Plugin\search_api\backendCode
protected function preQuery(QueryInterface $query) {
}