You are here

README.txt in Search API attachments 7

Search API Attachments Entityreference

This contrib module extends the work of search_api_attachments by indexing
the files that belong to an entity referenced by an entityreference field in the
parent entity index.

Example:
You have a node that has 3 fields :

 field_documents: a File field.
 field_references: an Entityreference field, that references a node containing
 some file fields:
   field_referenced_documents1: a File field.
   field_referenced_documents2: a File field.
   field_file_reference: an Entityreference field, that references a file entity.

To index the field_documents content, you don't need this submodule, just use
the search_api_attachments module.
To index field_referenced_documents1, field_referenced_documents2, and
field_file_reference content in our node index, you can use this submodule :)

File

contrib/search_api_attachments_entityreference/README.txt
View source
  1. Search API Attachments Entityreference
  2. This contrib module extends the work of search_api_attachments by indexing
  3. the files that belong to an entity referenced by an entityreference field in the
  4. parent entity index.
  5. Example:
  6. You have a node that has 3 fields :
  7. field_documents: a File field.
  8. field_references: an Entityreference field, that references a node containing
  9. some file fields:
  10. field_referenced_documents1: a File field.
  11. field_referenced_documents2: a File field.
  12. field_file_reference: an Entityreference field, that references a file entity.
  13. To index the field_documents content, you don't need this submodule, just use
  14. the search_api_attachments module.
  15. To index field_referenced_documents1, field_referenced_documents2, and
  16. field_file_reference content in our node index, you can use this submodule :)