We are building av website in Drupal 8 where the content is divided into 3 content types;
- Basic Page, the scaffold for all visual pages like "About, Features etc."
- Content Block 1, for a layout with one text field and one image
- Content Block 2, for a layout with one text filed and two images
Nodes on Content Block 1 and 2 are referenced in on Basic Page nodes to enable different designs for each Page. This is done using a view block on Basic Pages.
Now, to the question:
Is there a way to set Search API to index only nodes on Basic Page, rendered with the content of referenced Content Block nodes?
I also need to exclude Content Block nodes from being indexed and showing up as nodes in the results, but that I have a grip on.
I hope my question is clear enough. Please comment otherwise and I will be happy to elaborate.