You are here

function apachesolr_multilingual_term_reference_indexing_callback in Apache Solr Multilingual 6.3

Same name and namespace in other branches
  1. 7 apachesolr_multilingual.module \apachesolr_multilingual_term_reference_indexing_callback()

Callback that converts term_reference field into an array

TODO needs review!

Parameters

object $node:

string $field_name:

string $index_key:

array $field_info:

Return value

array $fields fields that will be indexed for this term reference

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

File

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

Code

function apachesolr_multilingual_term_reference_indexing_callback($node, $field_name, $index_key, array $field_info) {
  module_load_include('index.inc', 'apachesolr_multilingual');
  return apachesolr_multilingual_term_reference_indexing_callback_implementation($node, $field_name, $index_key, $field_info);
}