You are here

README.txt in Search API attachments 7

Search API Attachments Commerce Product References

This contrib module extends the work of search_api_attachments by indexing
the files that belong to a commerce product referenced by a
commerce_product_reference field in the parent entity index.

Example:
You have a node that has 2 fields :

 field_documents: a File field.
 commerce_product: a commerce product reference field referencing a Commerce
 product with the following fields on it:
   field_referenced_documents1: a File field.
   field_referenced_documents2: a File field.

To index the field_documents content, you don't need this submodule, just use
the search_api_attachments module.

To index field_referenced_documents1 and field_referenced_documents2 content
in our node index, you can use this submodule :)

File

contrib/search_api_attachments_commerce_product_reference/README.txt
View source
  1. Search API Attachments Commerce Product References
  2. This contrib module extends the work of search_api_attachments by indexing
  3. the files that belong to a commerce product referenced by a
  4. commerce_product_reference field in the parent entity index.
  5. Example:
  6. You have a node that has 2 fields :
  7. field_documents: a File field.
  8. commerce_product: a commerce product reference field referencing a Commerce
  9. product with the following fields on it:
  10. field_referenced_documents1: a File field.
  11. field_referenced_documents2: a File field.
  12. To index the field_documents content, you don't need this submodule, just use
  13. the search_api_attachments module.
  14. To index field_referenced_documents1 and field_referenced_documents2 content
  15. in our node index, you can use this submodule :)