You are here

public function UnsavedIndexConfiguration::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.

Overrides IndexInterface::preprocessSearchQuery

File

src/UnsavedIndexConfiguration.php, line 431

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function preprocessSearchQuery(QueryInterface $query) {
  $this->entity
    ->preprocessSearchQuery($query);
}