I just had one Premium customer report of the same problem: no matter what is searched for, the same list of results comes up. We haven’t gotten anywhere with that customer yet, so I don’t know yet what’s up with this, but sounds like you have the same problem.
Do you get the right results if you try searching while live previewing one of the default themes, ie. is this a theme problem?
Something in your site is overriding the search query. It can be a plugin, so try to see if another plugin is conflicting: is there a plugin you can deactivate to make this problem go away?
It seems to be a combination of removing
function searchfilter($query) {
if ($query->is_search && !is_admin() ) {
$query->set('post_type',array('product'));
}
return $query;
}
add_filter('pre_get_posts','searchfilter');
from the theme functions and disabling the FacetWP – Relevanssi integration plugin. They both have to be done for the results to work properly. Any thoughts?
Interesting. It’s a good idea to remove that filter when using Relevanssi, it’s useless and can cause problems.
I can’t tell about FacetWP – as it is, I don’t have a FacetWP license myself, so I’m not sure what exactly the Relevanssi integration is doing. I’d assume it’s necessary for FacetWP to actually use Relevanssi, but without knowing what’s going on in there, I can’t say.