You are here

function apachesolr_multilingual_fields_default_indexing_callback in Apache Solr Multilingual 7

Callback that converts list module field into an array For every multivalued value we also add a single value to be able to use the stats

Parameters

object $entity:

string $field_name:

string $index_key:

array $field_info:

Return value

array $fields

1 string reference to 'apachesolr_multilingual_fields_default_indexing_callback'
apachesolr_multilingual_apachesolr_field_mappings_alter in ./apachesolr_multilingual.module
Implements hook_apachesolr_field_mappings_alter()

File

./apachesolr_multilingual.module, line 1057
Multilingual search using Apache Solr.

Code

function apachesolr_multilingual_fields_default_indexing_callback($entity, $field_name, $index_key, array $field_info) {
  module_load_include('index.inc', 'apachesolr_multilingual');
  return apachesolr_multilingual_fields_default_indexing_callback_implementation($entity, $field_name, $index_key, $field_info);
}