You are here

public function SolrBackendInterface::getSolrFieldNamesKeyedByLanguage in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getSolrFieldNamesKeyedByLanguage()

Gets a language-specific mapping from Drupal to Solr field names.

Parameters

array $language_ids: The language to get the mapping for.

\Drupal\search_api\IndexInterface $index: The Search API index entity.

bool $reset: (optional) Whether to reset the static cache.

Return value

array The language-specific mapping from Drupal to Solr field names.

Throws

\Drupal\search_api\SearchApiException

1 method overrides SolrBackendInterface::getSolrFieldNamesKeyedByLanguage()
SearchApiSolrBackend::getSolrFieldNamesKeyedByLanguage in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Gets a language-specific mapping from Drupal to Solr field names.

File

src/SolrBackendInterface.php, line 98

Class

SolrBackendInterface
Defines an interface for Solr search backend plugins.

Namespace

Drupal\search_api_solr

Code

public function getSolrFieldNamesKeyedByLanguage(array $language_ids, IndexInterface $index, $reset = FALSE);