Is there a way we can improve on the search capabilities typically used like quotation marks for exact searches, asterisk for multi-letter wildcard, question mark for single letter wildcard, etc.
I realize our data is hard to query because it doesn't benefit from fuzzy search.
Thus it will be possible to make "approximate" searches.
I was sampling with wildcards I like to use which are the ones I mentioned and results come to the top but also include non matches. Maybe plus and minus would also be helpful. "", *, ?, +, and - and the ability that they can be used in combination like "Agh*a?an" + "George" results should include George Aghjayan, George Aghdjayan, George Aghjaian, George Aghdjaian, etc.
Hi there
That's not something available with WordPress search or with Toolset's implementation, and you would need a search plugin to improve on what is currently possible.
Relevanssi includes this, and is integrated with searches created with Views.
hidden link
Can It be implemented in archive pages the way we have it configurated?
hidden link
hidden link
hidden link
hidden link
hidden link
And is there development required or does it automatically work, once we have the premium Relevanssi plugin installed?
Thanks
Hello,
The "Complex Queries" is a feature of Relevanssi plugin, you can follow our document to integrate Relevanssi with Toolset WordPress Archive custom search form:
https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/
section "Integration with custom searches"
Can you help me set that up please
not sure I quite understand
1 - first article you guys sent, it say add the following somewhere (no idea where and how)
hidden link
It mentions the following
Search operators. Premium only. Relevanssi Premium includes search operators which you can use to control the search.
Does that mean, if I purchase premium, it will automatically be active on my site? Or is there more config to be done?
2 - I have added relevencie, can you please login to check if it's done correctly please?
hidden link
hidden link
hidden link
Thanks
Q1) According to their document, "Complex Queries" feature requires Relevanssi Premium plugin.
Since it is a feature of Relevanssi plugin, it would be better to check their support:
hidden link
Q2) I think you are using correct settings in your screenshot, if you need more assistance for it, please provide your website credentials in below private message box
I have checked the Relevanssi settings in your website, I think you are using correct setup, please let me know if you need other assistance.
I reached out to their support
haven't heard anything back
Just got a response from relevanssi
As these are not standard WordPress search pages, I don't know if these work with Relevanssi or not. You should probably ask Toolset support about it, they'll know better. They're the ones who've done the Relevanssi and Toolset compatility; they know Relevanssi better than I know Toolset.
Since I don't have a copy of Relevanssi Premium plugin in my localhost, I am not sure if the "Complex Queries" feature works in Toolset WordPress Archive, can you install the Relevanssi Premium plugin in your website? and follow their document to setup it:
hidden link
premium relevanssi has now been installed
Can you check now
I have tried these in your website:
1) Edit theme file "functions.php":
hidden link
Line 145, add below line:
add_filter( 'relevanssi_wildcard_search', '__return_true' );
2) Test it in frontend, for example:
hidden link
It does not work, so Toolset plugin does not support this feature does by default.
3) As a workaround, you can pass WP built-in search parameter to WordPress Archive, for example:
Edit WordPress Archive:
hidden link
Add a search box with HTML codes:
WP built-in search:<input type="text" name="s" value="[wpv-search-term param="s"]" class="js-wpv-filter-trigger-delayed form-control">
And disable all AJAX search feature
4) Test it in frontend, for example:
hidden link
It works fine.
For your reference.