Skip to main contentSkip to footer

Version 3.2 is out now, and is more a feature release than a bug fix release. Here’s what’s new:

  • Fixed a bug in the TablePress support.
  • Titles are put through the_title filter before indexing.
  • New filter: relevanssi_join can be used to join tables in the Relevanssi search MySQL queries. Thanks to Ninos Ego.
  • New filter: relevanssi_post_content can be used to modify post content before any Relevanssi processing.
  • New filter: relevanssi_post_content_before_tokenize can be used to modify post content just before it’s tokenized.
  • New filter: relevanssi_indexing_values can be used to modify what Relevanssi stores in the index.
  • New filter: relevanssi_default_meta_query_relation can be used to change the default meta query relation (default value is “AND”).
  • When using a meta_query, relation can be set to OR now.
  • Phrases are now matched to excerpts.
  • Number of queries Relevanssi generates is much, much lower.
  • New filter: relevanssi_didyoumean_url lets you modify the URL generated by the did you mean feature.
  • Better set of Russian stopwords.
  • Relevanssi now highlights search query synonyms as well in documents.

Pretty much all of these new features and fixes come from user requests and bug reports, so if there’s something missing in Relevanssi, just let me know. Especially if it’s something that can be fixed with a filter hook added somewhere.

New WordPress version, 3.8, is coming soon. Relevanssi users can rest easy – this version has been developed on a 3.8-alpha site, and so far everything seems to work just fine.

Your account

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

Search

Popular Resources

Gutenberg Full Site Editing

There’s a compatibility issue between Relevanssi and Gutenberg Full Site Editing. No results are found when you create a Query Loop to display the search results with Relevanssi enabled. The blank results happen because the post template block doesn’t use the Relevanssi results but instead uses a new WP_Query. Since……Relevanssi still blocks the default search, this comes up empty. For a straightforward solution, add this to your site: add_filter( ‘relevanssi_search_ok’, function( $ok, $query ) { if ( ! empty( $query->query_vars[‘s’] ) ) { $ok = true; } return $ok; }, 10, 2 ); This function hooks to the relevanssi_search_ok……filter hook. This hook fires because Relevanssi looks at the newly-created WP_Query, but since it’s not the main query for the template, Relevanssi doesn’t take over. This function instructs Relevanssi to take over as long as there’s a s parameter in the query, and a search term exists. Excerpts The…

Integrating Koko Analytics stats
It’s possible to integrate all kinds of external data to Relevanssi weights. Koko Analytics is a great analytics plugin. It…

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