You are here

function user_reference_apachesolr_field_mappings in Apache Solr Search 8

Same name and namespace in other branches
  1. 7 apachesolr.module \user_reference_apachesolr_field_mappings()

Implements hook_apachesolr_field_mappings() on behalf of References (user_reference).

See also

http://drupal.org/node/1059372

File

./apachesolr.module, line 2633
Integration with the Apache Solr search application.

Code

function user_reference_apachesolr_field_mappings() {
  $mappings = array(
    'user_reference' => array(
      'indexing_callback' => 'apachesolr_userreference_indexing_callback',
      'index_type' => 'integer',
      'map callback' => 'apachesolr_userreference_map_callback',
      'facets' => TRUE,
    ),
  );
  return $mappings;
}