Skip to main contentSkip to footer

Premium 2.4.4 and free 4.3.4 fix couple of long-standing bugs. The process of taking Relevanssi to 100% testing coverage proceeds and going over all the code systematically helped me find and fix a bug that had plagued comment indexing for a long time.

New features

  • Premium only: You can now target specific parts of the post with search terms like {post_tag:cat}, {title:word}, {author:mikko}, {customfield_name:value} and so on. See this Knowledge Base entry for more information.
  • Premium only: Related posts keywords can now be restricted by taxonomy, so tags will only match to tags and not other parts of the post. This may lead to increased precision.
  • You can now give Gutenberg blocks a CSS class relevanssi_noindex to exclude them from being indexed. Relevanssi will not index Gutenberg blocks that have the class.
  • Relevanssi automatically skips some custom fields from common plugins that only contain unnecessary metadata.
  • The search results breakdown is added to the post objects and can be found in $post->relevanssi_hits. The data also includes new fields and the breakdown from the excerpt settings page can now show author, excerpt, custom field and MySQL column hits.
  • Relevanssi can now index Ninja Tables table content. This is something of an experimental feature right now, feedback is welcome.
  • New filter hook relevanssi_indexing_query filters the indexing query and is mostly interesting for debugging reasons.

Bug fixes

  • Deleted and trashed comment contents were not deindexed when the comment was removed. That has been corrected now.
  • Phrase matching is now applied to attachments as well, including the attachments indexed for parent post.
  • Phrase matching only looks at custom fields that are indexed by Relevanssi.
  • Exact match bonus now uses the original query without synonyms added for the exact match check.
  • Paid Memberships Pro filtering is only applied to published posts to prevent drafts from showing up in the search results.
  • Premium only: Indexing internal links for target documents could cause documents to go unindexed. This has now been fixed. If you use internal link indexing, rebuild the index after you update.
  • Premium only: Relevanssi could stop plugin information retrieval for other plugins fail. This has been fixed.

The new versions are available from the plugin repository, from the Download page and through automatic update.

Your account

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

Search

Popular Resources

The wrong content gets indexed for a post

Sometimes Relevanssi can get confused and indexes the post content under the wrong post ID. The main symptoms for this are: You can’t find a post with words you know should be in the post Searching for a word returns a post that doesn’t have that word You can confirm…

YITH Badge Management

The Premium version of YITH Badge Management has a search feature for badges. Using Relevanssi breaks that badge search. Fortunately, it’s easy to fix. Add this to your site: add_filter( ‘relevanssi_prevent_default_request’, ‘rlv_yith_badge_management’, 10, 2 ); add_filter( ‘relevanssi_search_ok’, ‘rlv_yith_badge_management’, 10, 2 ); function rlv_yith_badge_management( $do_stuff, $query ) { if ( ‘yith-wcbm-badge’…

Related Posts:

Currently there are no related posts available.

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