You are here

public function SearchApiServer::search in Search API 7

Executes a search on the server represented by this object.

See also

SearchApiServiceInterface::search()

File

includes/server_entity.inc, line 372
Contains SearchApiServer.

Class

SearchApiServer
Class representing a search server.

Code

public function search(SearchApiQueryInterface $query) {
  $this
    ->ensureProxy();
  return $this->proxy
    ->search($query);
}