You are here

function apachesolr_attachments_facetapi_searcher_info_alter in Apache Solr Attachments 7

Implements hook_facetapi_searcher_info_alter().

File

./apachesolr_attachments.module, line 757
Provides a file attachment search implementation for use with the Apache Solr module

Code

function apachesolr_attachments_facetapi_searcher_info_alter(array &$searcher_info) {
  foreach ($searcher_info as $index => $info) {
    $searcher_info[$index]['types'][] = 'file';
  }
}