function taxonomy_apachesolr_field_mappings in Apache Solr Search 6.3
Implements hook_apachesolr_field_mappings() on behalf of taxonomy module.
File
- ./
apachesolr.module, line 2519 - Integration with the Apache Solr search application.
Code
function taxonomy_apachesolr_field_mappings() {
$mappings = array(
'taxonomy_term' => array(
'map callback' => 'facetapi_map_taxonomy_terms',
'hierarchy callback' => 'facetapi_get_taxonomy_hierarchy',
'indexing_callback' => 'apachesolr_term_indexing_callback',
'index_type' => 'integer',
'facets' => TRUE,
'query types' => array(
'term',
),
'query type' => 'term',
'facet mincount allowed' => TRUE,
),
);
return $mappings;
}