You are here

public function SearchApiAlgoliaService::search in Search API Algolia 7

Implements search.

Overrides SearchApiServiceInterface::search

File

includes/service.inc, line 237
Contains SearchApiAlgoliaService.

Class

SearchApiAlgoliaService
SearchApiAlgoliaService class.

Code

public function search(SearchApiQueryInterface $query) {

  // Set 'result count' at 0 by default.
  $result = array(
    'result count' => 0,
  );
  return $result;
}