Search API attachments Field collections

Component ID

2034837

Component name

Search API attachments Field collections

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Please consider that this module is now a part of the search api attachments module.

This module supports indexation of files that are part of a field collection in its parent entity.

Example:
You have a node that has 2 fields :

  1. field_documents : a File field.
  2. field_collections: a Field collection field, that is containing some file fields :
    1. field_collections_documents1 : a File field.
    2. field_collections_documents2 : a File field.
  • To index the field_documents content, you don't need this module, just use search_api_attachments
  • To index field_collections_documents1 and field_collections_documents2 content in our node index, you can use this module :)

This module depends on search_api_attachments, it simply extends its SearchApiAttachmentsAlterSettings class to take into account the indexation of files that are in the field collection item referenced by the parent entity.

Initial development was sponsored by Linagora.