Versions 2.30 (Premium) and 4.27 (free) include a bunch of new features and bug fixes. The biggest bug fix is related to multisite searching, where the post weights weren’t calculated correctly before.
There’s also a small security fix related to meta queries using regular expressions, which matters when Relevanssi is used with Relevanssi Live Ajax Search.
- Premium. New feature: Relevanssi now has a speech-to-text support using the Web Speech API.
- Premium. New feature: Spam blocking now has a search query length filter that can block too long queries as spam.
- Premium. New feature: You can now enable automatic search term spelling correction from the settings.
- New feature: Setting to disable all
post_typeparameters to let Relevanssi control the post types in the search. - New feature: New filter hook
relevanssi_truncate_search_queriescan be used to truncate search queries to a certain length to eliminate too long queries. - New feature: New shortcode
makes it easier to add a “Did you mean” suggestion on a search results page without modifying the template code. - New feature: New filter hook
relevanssi_allow_meta_query_regexpallowsREGEXPorNOT REGEXPmeta queries. They are blocked by default for security reasons. - Premium. Changed behaviour: Multisite searching is now more in line with the single site search and supports the ‘missing terms’ feature and the + and – operators.
- Premium. Major fix: The post weights weren’t calculated correctly in multisite searches.
- Premium. Minor fix: Empty post part targets caused PHP errors. Now they are ignored.
- Premium. Minor fix: Uninstalling Relevanssi Premium when the free version is active now only uninstalls Premium features.
- Premium. Minor fix: Spelling corrections work more reliably when the search query involves accents.
- Minor fix: Relevanssi now clears the scheduled actions on deactivation, not on uninstall.
- Minor fix: Much faster response for the indexed custom field list.
- Minor fix: You can now assign anonymous functions to the
relevanssi_indexing_restrictionfilter hook.