You are here

public function SolrBackendInterface::getLanguageSpecificSolrFieldNames in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getLanguageSpecificSolrFieldNames()

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

Parameters

string $language_id: 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::getLanguageSpecificSolrFieldNames()
SearchApiSolrBackend::getLanguageSpecificSolrFieldNames in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Gets a language-specific mapping from Drupal to Solr field names.

File

src/SolrBackendInterface.php, line 71

Class

SolrBackendInterface
Defines an interface for Solr search backend plugins.

Namespace

Drupal\search_api_solr

Code

public function getLanguageSpecificSolrFieldNames($language_id, ?IndexInterface $index, $reset = FALSE);