You are here

public function QueryInterface::getOriginalQuery in Search API 8

Retrieves the original version of the query, before preprocessing occurred.

Will be a clone of this query if preprocessing has not already run.

Return value

\Drupal\search_api\Query\Query The original, unpreprocessed version of this query.

1 method overrides QueryInterface::getOriginalQuery()
Query::getOriginalQuery in src/Query/Query.php
Retrieves the original version of the query, before preprocessing occurred.

File

src/Query/QueryInterface.php, line 533

Class

QueryInterface
Represents a search query on a Search API index.

Namespace

Drupal\search_api\Query

Code

public function getOriginalQuery();