Skip to main contentSkip to footer

Catching up to bug fixes in recent Premium versions, this version has lots of changes and is highly recommended for all users.

  • OR fallback didn’t actually fall back to OR, but instead got stuck in an endless loop of AND searches.
  • Meta queries didn’t work without a key; now they work with just meta_value or meta_value_num.
  • Meta queries had problems with meta_value being set to null.
  • Relevanssi now supports category__and. By default this sets include_children to false.
  • When querying by slug, the term taxonomy is also taken into consideration, fixing problems when same slug appears in different taxonomies.
  • Author search didn’t work.
  • Fixed an error message caused by all-number synonyms starting with zero, like 02.
  • Synonyms are now case-insensitive.
  • New filter: relevanssi_default_tax_query_relation can be used to change the default tax query relation from OR to AND.
  • Fixed undefined variable errors when doing an OR fallback.
  • New filter: relevanssi_bots_to_not_log makes it possible to block bots from logs. The format matches what other plugins, ie. WP-Useronline, use for bot blocking, so you can share block lists.
  • New filter: relevanssi_admin_search_ok gives you more control when Relevanssi overrides the default WP search in admin, useful for fixing P2P_Box AJAX search.
  • Ordering search results by title or date in admin search works now.
  • Modified the way the highlights work; now highlighting words with apostrophes should produce more meaningful results.
  • Highlighting should not highlight anything between & and ; or in

Your account

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

Search

Popular Resources

WP Event Manager
Using Relevanssi with WP Event Manager requires you to adjust the search process in WP Event Manager a bit. Fortunately,…
Custom weighing with relevanssi_match and relevanssi_results

…} return $match; } Weight from tags Relevanssi Premium has a simple weight setting for adding weight to tags. If you want that in free Relevanssi, you have to use relevanssi_match to add extra weight to tags. add_filter( ‘relevanssi_match’, ‘rlv_boost_tags’ ); function rlv_boost_tags( $match ) { if ( $match->tag >……$title_boost + $match->content + $match->comment * $comment_boost + $match->tag * $tag_boost + $match->link * $link_boost + $match->author + $match->category + $match->excerpt + $match->taxonomy + $match->customfield; $match->weight = $match->tf * $idf; Where $idf is the inverse document frequency, aka the rarity of the term in question. The bigger the weight, the……taxonomy terms Weight from tags Weight from excerpts Weighing multisite subsites More weight for whole word matches Return only comments Weight based on parent Weight for featured images Boost matches from title beginning Performance issues Date-based weight Here’s an example function that will double the weight of posts published within…

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