Skip to main contentSkip to footer

Version 2.2.2 of Premium and the matching 4.1.1 version of free include some minor fixes to search parameters. The biggest fixes are related to meta key sorting of results, some annoying error messages that crop up if you try to sort by an ACF field for example should be gone now. There were also some problems with post__in and other similar parameters.

As a new feature, Relevanssi can now index Gutenberg reusable blocks. No guarantees for this functionality, though, as this broke once already before I could even release this version, so this isn’t the most reliable feature. Gutenberg is still in very active development and apparently things can change.

  • Premium: The relevanssi_premium_get_post() now has a default value (-1) for the blog ID.
  • The post__in and post__not_in parameters didn’t work, and are now fixed. post_parent__in and post_parent__not_in are also improved.
  • You can use named meta queries for sorting posts. Meta query sorting is improved in other ways as well.
  • Log export didn’t work properly.
  • Adding stopwords from the common word list has been fixed.
  • The relevanssi_get_words_having filter hook is now also applied to the free version Did you mean queries.
  • New filters: relevanssi_1day, relevanssi_7days, and relevanssi_30days can be used to adjust the number of days for log displays, so instead of 1, 7 and 30 days you can have anything you want.

The new version is available from automatic updates and from the Download page or the plugin repository. The free version is not out yet, but will be shortly.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Menu problems in multisite search

Sometimes multisite searches cause problems in navigation menus. This is caused by pages from another subsite going into the page cache, and then replacing a page in the navigation menu with the same page ID. If you’re having this problem, adding the following code to the theme functions.php should solve……the issue. add_action( ‘wp_head’, ‘rlv_uncache_menu_posts’, 99 ); function rlv_uncache_menu_posts() { if ( is_search() ) { global $wpdb; $ids = $wpdb->get_col(“SELECT meta.meta_value FROM $wpdb->posts as posts, $wpdb->postmeta as meta WHERE posts.ID = meta.post_id AND posts.post_type = ‘nav_menu_item’ AND meta.meta_key = ‘_menu_item_object_id'”); if ( is_array( $ids ) ) { foreach ( $ids…

FacetWP

…determine when to show the product search results page. FacetWP Relevanssi integration 0.7.3 unsets the post_type parameter to use the Relevanssi-specific post_types parameter, but the theme doesn’t understand that. The fix for this is to reset the post_type parameter. Add this to your site: add_action( ‘pre_get_posts’, function( $query ) {…

German umlauts
By default, the search ignores German umlauts. Searching for “uber” will also find “über” and so on. This ignorance is…

Related Posts:

Comment Section:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed