This support ticket is created 2 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
You will need to change "search-the-projects" to the slug of your actual search view. Then change the target_id value to the ID of the page that you want the search results to be on.
If you want the results only on the results page then you will add.
I got the results showing on the other page, but I seem to be getting results that don't match the search input. Can you help me figure out why that it, please?
If i search for a single specific business by name, yes, it seems to only return that result. But if I search by a category, i.e. 'pizza' or 'vet' it returns lots of results that do not match. Examples:
hidden link
hidden link
The first few results seem to match, but then it has a lot more that do not.
OK, so then why when I search for "pizza" do i get results such as "Digital Prestidigitation" and "Prairie Home LLC". Neither of those includes anything about pizza in any of the specified fields.
It appears the issue is being caused by relevanssi and the indexing of the custom fields. I'm not sure how relevanssi is matching the custom field data with the search but the issue is stemming from here.
Are there any particular custom fields that you want to be included in the text search ? As you can set the search to only include the post title and post content.