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

Related Posts

…the post – for example, if you have related posts automatically added to all pages, there are probably pages where you don’t want them, like the front page. You can also disable to post so that Relevanssi never uses it as a related post for another post. You can also……as related posts, and for pages, Relevanssi uses pages and so on. If you choose another post type, all posts will receive recommendations regardless of type. You can also set the number of related posts shown and choose what happens if Relevanssi doesn’t find enough related posts: you can choose……option. You can also add taxonomies, like posts and categories. Using taxonomies requires that Relevanssi indexes the taxonomy; you can adjust that on the Relevanssi indexing settings page. You can choose which post types Relevanssi uses for the related posts. “Matching post type” means that for posts, Relevanssi uses posts…

Elementor
Elementor is a popular page builder. It works rather well with Relevanssi, most of the time. Check for e_search_props If…
How to display relevancy score

Relevanssi stores the relevance score it uses to sort results in the $post variable. Just add something like <?php echo “Score: $post->relevance_score”; ?> to your search results template to display the relevance score….

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