You are here

protected function SearchApiElasticsearchAbstractService::getIndexFields in Search API Elasticsearch 7

Helper function. Return index fields.

6 calls to SearchApiElasticsearchAbstractService::getIndexFields()
SearchApiElasticsearchAbstractService::getAggregationSearchFilter in includes/SearchApiElasticsearchAbstractService.inc
Helper function return Facet filter.
SearchApiElasticsearchAbstractService::getAutocompleteSuggestions in includes/SearchApiElasticsearchAbstractService.inc
Helper function. Get Autocomplete suggestions.
SearchApiElasticsearchAbstractService::getSortSearchQuery in includes/SearchApiElasticsearchAbstractService.inc
Helper function that return Sort for query in search.
SearchApiElasticsearchAbstractService::parseSearchAggregation in includes/SearchApiElasticsearchAbstractService.inc
Helper function that parse facets.
SearchApiElasticsearchElastica::addSearchAggregation in modules/elastica/includes/SearchApiElasticsearchElastica.inc
Helper function build Aggregations in search.

... See full list

File

includes/SearchApiElasticsearchAbstractService.inc, line 551
Provides a Elasticsearch-based service class for the Search API.

Class

SearchApiElasticsearchAbstractService
Elasticsearch service abstract class.

Code

protected function getIndexFields(SearchApiQueryInterface $query) {
  $index = $query
    ->getIndex();
  $index_fields = $index
    ->getFields();
  return $index_fields;
}