You are here

public function IndexInterface::preprocessSearchQuery in Search API 8

Preprocesses a search query.

Lets all enabled processors for this index preprocess the search query.

Parameters

\Drupal\search_api\Query\QueryInterface $query: The search query to be executed.

2 methods override IndexInterface::preprocessSearchQuery()
Index::preprocessSearchQuery in src/Entity/Index.php
Preprocesses a search query.
UnsavedIndexConfiguration::preprocessSearchQuery in src/UnsavedIndexConfiguration.php
Preprocesses a search query.

File

src/IndexInterface.php, line 398

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function preprocessSearchQuery(QueryInterface $query);