You are here

function node_reference_apachesolr_field_mappings in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.module \node_reference_apachesolr_field_mappings()

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

See also

http://drupal.org/node/1059372

File

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

Code

function node_reference_apachesolr_field_mappings() {
  $mappings = array(
    'node_reference' => array(
      'indexing_callback' => array(
        'apachesolr_nodereference_indexing_callback',
      ),
      'index_type' => 'integer',
      'map callback' => 'apachesolr_nodereference_map_callback',
      'facets' => TRUE,
    ),
  );
  return $mappings;
}