function apachesolr_multilingual_get_dynamic_text_field_prefixes_and_types in Apache Solr Multilingual 6.3
Same name and namespace in other branches
- 7 apachesolr_multilingual.module \apachesolr_multilingual_get_dynamic_text_field_prefixes_and_types()
5 calls to apachesolr_multilingual_get_dynamic_text_field_prefixes_and_types()
- apachesolr_multilingual_apachesolr_field_name_map_alter in ./
apachesolr_multilingual.module - Implements hook_apachesolr_field_name_map_alter().
- apachesolr_multilingual_confgen_modify_schema in apachesolr_multilingual_confgen/
apachesolr_multilingual_confgen.generator.inc - @file Schema generator for multilingual search
- apachesolr_multilingual_copy_common_to_i18n_fields in ./
apachesolr_multilingual.module - apachesolr_multilingual_form_apachesolr_search_bias_form_alter in ./
apachesolr_multilingual.module - Implements hook_form_apachesolr_search_bias_form_alter().
- apachesolr_multilingual_requirements in ./
apachesolr_multilingual.install - Implements hook_requirements().
File
- ./
apachesolr_multilingual.module, line 1034 - Multilingual search using Apache Solr.
Code
function apachesolr_multilingual_get_dynamic_text_field_prefixes_and_types() {
return array(
// prefix => type
'ts_' => 'text',
// single text value
'tm_' => 'text',
// multiple text values
'tos_' => 'text',
// single text-omitNorms value
'tom_' => 'text',
// multiple text-omitNorms values
'tus_' => 'text_und',
// single text-unstemmed value
'tum_' => 'text_und',
// multiple text-unstemmed values
// In addition to the EdgeNGramFilterFactory this text field applies a
// LowerCaseFilter. For some languages it makes sense to remove that
// LowerCaseFilter.
'tes_' => 'edge_n2_kw_text',
// single text-edgeNgram value
'tem_' => 'edge_n2_kw_text',
// multiple text-edgeNgram values
// A text field that only splits on whitespace for exact matching of words.
// In addition it applies a LowerCaseFilter. For some languages it makes
// sense to remove that LowerCaseFilter.
'tws_' => 'text_ws',
// single text-whiteSpace value
'twm_' => 'text_ws',
);
}