You are here

public function SearchApiQueryInterface::preExecute in Search API 7

Prepares the query object for the search.

This method should always be called by execute() and contain all necessary operations before the query is passed to the server's search() method.

Throws

SearchApiException If any error occurred during the preparation of the query.

1 method overrides SearchApiQueryInterface::preExecute()
SearchApiQuery::preExecute in includes/query.inc
Prepares the query object for the search.

File

includes/query.inc, line 247
Contains SearchApiQueryInterface and SearchApiQuery.

Class

SearchApiQueryInterface
Interface representing a search query on an Search API index.

Code

public function preExecute();