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
- 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 :)