You are here

protected function SearchApiAlgoliaBackend::getAlgoliaIndex in Search API Algolia 8

Same name and namespace in other branches
  1. 3.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::getAlgoliaIndex()
  2. 2.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::getAlgoliaIndex()

Get the Algolia index.

@returns \AlgoliaSearch\Index Index.

2 calls to SearchApiAlgoliaBackend::getAlgoliaIndex()
SearchApiAlgoliaBackend::getAutocompleteSuggestions in src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php
Implements autocomplete compatible to AutocompleteBackendInterface.
SearchApiAlgoliaBackend::search in src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php
Executes a search on this server.

File

src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php, line 597

Class

SearchApiAlgoliaBackend
Class SearchApiAlgoliaBackend.

Namespace

Drupal\search_api_algolia\Plugin\search_api\backend

Code

protected function getAlgoliaIndex() {
  return $this->algoliaIndex;
}