You are here

function apachesolr_attachments_default_excluded in Apache Solr Attachments 6.3

Same name and namespace in other branches
  1. 6 apachesolr_attachments.admin.inc \apachesolr_attachments_default_excluded()
  2. 6.2 apachesolr_attachments.admin.inc \apachesolr_attachments_default_excluded()
  3. 7 apachesolr_attachments.module \apachesolr_attachments_default_excluded()

Provides a default list of filename extensions to exclude from the index.

Return value

An array of file extensions.

3 calls to apachesolr_attachments_default_excluded()
apachesolr_attachments_allowed_mime in ./apachesolr_attachments.index.inc
Checks if a file is of a MIME type that is to be excluded from the index.
apachesolr_attachments_settings in ./apachesolr_attachments.admin.inc
Displays the Attachment Settings Form.
apachesolr_attachments_update_7000 in ./apachesolr_attachments.install
Rename variables.

File

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

Code

function apachesolr_attachments_default_excluded() {
  $default = array(
    'aif',
    'art',
    'avi',
    'bmp',
    'gif',
    'ico',
    'jpg',
    'mov',
    'mp3',
    'mp4',
    'mpg',
    'oga',
    'ogv',
    'png',
    'psd',
    'ra',
    'ram',
    'rgb',
    'tif',
    'wmv',
  );
  return $default;
}