You are here

public function BackendSpecificInterface::search in Search API 8

Executes a search on this server.

Parameters

\Drupal\search_api\Query\QueryInterface $query: The query to execute.

Throws

\Drupal\search_api\SearchApiException Thrown if an error prevented the search from completing.

4 methods override BackendSpecificInterface::search()
Database::search in modules/search_api_db/src/Plugin/search_api/backend/Database.php
Executes a search on this server.
NoUi::search in tests/search_api_test_no_ui/src/Plugin/search_api/backend/NoUi.php
Executes a search on this server.
Server::search in src/Entity/Server.php
Executes a search on this server.
TestBackend::search in tests/search_api_test/src/Plugin/search_api/backend/TestBackend.php
Executes a search on this server.

File

src/Backend/BackendSpecificInterface.php, line 214

Class

BackendSpecificInterface
Defines methods common to search servers and backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function search(QueryInterface $query);