I have two channels: blog and recipes. Blog posts are about recipes, so one of the fields in the blog channel is a relationship field connected to the recipes channel. Each blog entry has a related recipe entry.
I want to let visitors search for terms in the body field of the blog channel as well as in the ingredients field of the recipes channel, but only show the related entry (the recipe) in the search results.
So let's say there's a blog post about pizza, connected to a related recipe for pizza. Within the body field of the blog entry, the author has typed "my kids love this." Within the ingredients field of the recipe entry, the author has typed "mozzarella".
I want the pizza recipe entry to show in the results if the user searches for "mozzarella" and also if the user searches for "my kids love this".
Is this possible?
It seems like the logic I need is something like, "if a result is found in the Recipes channel, then display that entry. If the result is found in the Blog channel, then display that entry's related Recipes channel entry."