le_he
Here is a code snippet that you can modify and it may help you with your problem. I was having a similar problem that was made even worse by some extra custom post types I am using.
Include only the post types in the array that you want searched, everything else will be ignored.
You can add this to your functions.php file if you are using a child theme or I use a plugin called “Code Snippets” that makes managing snippets super easy.
function filter_search($query) {
if ($query->is_search) {
$query->set('post_type', array('product','page', 'herb', 'recipe', 'post'));
};
return $query;
};
add_filter('pre_get_posts', 'filter_search');
Hope this helps!
-Ian