You are here

constant SEARCH_API_SOLR_MULTILINGUAL_LANGUAGE_SEPARATOR in Apache Solr Multilingual 8

The separator to encapsultate the language id. We must not use any character that has a special meaning within a regular expression. See http://de2.php.net/manual/en/regexp.reference.meta.php Additionally we have to avoid ':', '_' and '/' which are already reserved by search_api. '@' must not be used as well because it's common for locales like "de_DE@euro".

4 uses of SEARCH_API_SOLR_MULTILINGUAL_LANGUAGE_SEPARATOR
Utility::getLangaugeIdFromLanguageSpecificSolrDynamicFieldName in src/Utility/Utility.php
Utility::getLanguageSpecificSolrDynamicFieldNameForSolrDynamicFieldName in src/Utility/Utility.php
Maps a solr field name to its language specific equivalent.
Utility::getSolrDynamicFieldNameForLanguageSpecificSolrDynamicFieldName in src/Utility/Utility.php
Utility::_modifySolrDynamicFieldName in src/Utility/Utility.php

File

src/Utility/Utility.php, line 20
Contains \Drupal\apachesolr_multilingual\Utility.

Namespace

Drupal\apachesolr_multilingual\Utility

Code

define('SEARCH_API_SOLR_MULTILINGUAL_LANGUAGE_SEPARATOR', ';');