Apache Solr Attachments inline

Component ID

2826361

Component name

Apache Solr Attachments inline

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Summary
This module makes indexing in body (and other text fields) possible using the Apache Solr Attachments module.
It works by using a REGEX to find all files embedded in text fields of type:

  • text_with_summary
  • text_long
  • text_formatted

This also includes field collection fields.

The managed Drupal file is stored in a seperate field (field_inline_attachments). This makes indexing
with the solr attachment module possible.

Requirements:


How to use:

  • Add a multiple file field with system name 'field_inline_attachments' to all content types that should be included
  • Add this field to the contenttypes search index display and set it to hidden in other displays. (admin/structure/types/manage//display/
  • Configure the additional settings provided by this module: See the box 'Inline attachments' at admin/config/search/apachesolr/attachments
  • Enable file types for indexing at admin/config/search/apachesolr/settings/solr/index
  • Resave all existing content (this will trigger the module)
  • Delete & reindex the Apache solr index



Limitations
This module was not tested in multi-language installations.