You are here

public function SearchApiAbstractService::query in Search API 7

Implements SearchApiServiceInterface::__construct().

The default implementation returns a SearchApiQuery object.

Overrides SearchApiServiceInterface::query

File

includes/service.inc, line 469
Contains SearchApiServiceInterface and SearchApiAbstractService.

Class

SearchApiAbstractService
Abstract class with generic implementation of most service methods.

Code

public function query(SearchApiIndex $index, $options = array()) {
  return new SearchApiQuery($index, $options);
}