You are here

constant SEARCH_API_SOLR_MULTILINGUAL_LANGUAGE_SEPARATOR in Search API Multilingual Solr Search 8

The separator to indicate the start of a language ID. We must not use any character that has a special meaning within regular expressions. Additionally we have to avoid characters that are valid for Drupal machine names. The end of a language ID is indicated by an underscore '_' which could not occur within the language ID itself because Drupal uses lanague tags.

See also

http://de2.php.net/manual/en/regexp.reference.meta.php

https://www.w3.org/International/articles/language-tags/

5 uses of SEARCH_API_SOLR_MULTILINGUAL_LANGUAGE_SEPARATOR
Utility::extractLanguageSpecificSolrDynamicFieldDefinition in src/Utility/Utility.php
Extracts the language-specific definition from a dynamic Solr field.
Utility::getLanguageIdFromLanguageSpecificSolrDynamicFieldName in src/Utility/Utility.php
Extracts the language code from a language-specific dynamic Solr field.
Utility::getLanguageSpecificSolrDynamicFieldNameForSolrDynamicFieldName in src/Utility/Utility.php
Maps a Solr field name to its language-specific equivalent.
Utility::getLanguageSpecificSolrDynamicFieldPrefix in src/Utility/Utility.php
Gets the language-specific prefix for a dynamic Solr field.
Utility::getSolrDynamicFieldNameForLanguageSpecificSolrDynamicFieldName in src/Utility/Utility.php
Maps a language-specific Solr field name to its unspecific equivalent.

File

src/Utility/Utility.php, line 17

Namespace

Drupal\search_api_solr_multilingual\Utility

Code

define('SEARCH_API_SOLR_MULTILINGUAL_LANGUAGE_SEPARATOR', ';');