You are here

protected function SearchApiAlgoliaBackend::getAlgoliaIndex in Search API Algolia 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::getAlgoliaIndex()
  2. 3.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

File

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

Class

SearchApiAlgoliaBackend
Class SearchApiAlgoliaBackend.

Namespace

Drupal\search_api_algolia\Plugin\search_api\backend

Code

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