You are here

public function SearchApiServer::query in Search API 7

Creates a query object for searching on an index lying on this server.

See also

SearchApiServiceInterface::query()

File

includes/server_entity.inc, line 362
Contains SearchApiServer.

Class

SearchApiServer
Class representing a search server.

Code

public function query(SearchApiIndex $index, $options = array()) {
  $this
    ->ensureProxy();
  return $this->proxy
    ->query($index, $options);
}