Continue reading German umlauts

German umlauts

By default, the search ignores German umlauts. Searching for “uber” will also find “über” and so on. This ignorance is not a Relevanssi feature but instead governed by your database. The default database collation WordPress uses (utf8mb4_unicode_ci) ignores all accents, including umlauts. If you want the search to care about umlauts, you can change the…

Read more German umlauts 0 Comment on German umlauts
Continue reading Attachment file content cannot be saved

Attachment file content cannot be saved

The Relevanssi error “Could not save the file content to the custom field” means that Relevanssi has managed to read the attachment contents but cannot save them to the _relevanssi_pdf_content custom field Relevanssi uses to store the attachment contents. Relevanssi uses the update_post_meta() function to save the content, and for some reason, that function is…

Read more Attachment file content cannot be saved 0 Comment on Attachment file content cannot be saved
Continue reading The Events Calendar: The event search

The Events Calendar: The event search

The event search from The Events Calendar does not work when Relevanssi is enabled. In regular use, it works, but if you try to access the event list directly with a search term in the URL, the search finds nothing. One solution is to make Relevanssi index the tribe_events post type. Then you can enable…

Read more The Events Calendar: The event search 0 Comment on The Events Calendar: The event search
Continue reading Premium 2.18 / Free 4.16

Premium 2.18 / Free 4.16

Version 2.18 adds the first draft of Oxygen 4 support. As a major fix to indexing, Relevanssi now removes all accents from letters by default. Version 2.18.0 / 4.16.0 New feature: Oxygen compatibility has been upgraded to support JSON data from Oxygen 4. This is still in the early stages, so feedback from Oxygen users…

Read more Premium 2.18 / Free 4.16 0 Comment on Premium 2.18 / Free 4.16
Continue reading Premium 2.17 / Free 4.15

Premium 2.17 / Free 4.15

Version 2.17.0 fixes a major problem with the click tracking feature: the logs didn’t trim as they were supposed to. There are minor improvements to Bricks compatibility and many new filter hooks for fine-tuning the MySQL query Relevanssi uses to fetch the results. Version 2.17.2 / 4.15.2 Premium. New feature: If you have a valid…

Read more Premium 2.17 / Free 4.15 0 Comment on Premium 2.17 / Free 4.15
Continue reading MySQL server kills Relevanssi indexing

MySQL server kills Relevanssi indexing

A Relevanssi user reported a mystical database problem. After about two minutes of indexing, the server shuts down the indexing. This leaves MySQL queries hanging on the server, causing the site to crash. The only way to get the site back live was to reboot the whole MySQL server. Eventually, they were able to figure…

Read more MySQL server kills Relevanssi indexing 0 Comment on MySQL server kills Relevanssi indexing
Continue reading Adding custom functions to a site

Adding custom functions to a site

The Relevanssi knowledge base is full of code snippets and custom functions that you can use to enhance your site and to change how Relevanssi works. But where to place those snippets and functions? There are many different methods of adding custom functions to your site, and I will go through them in this article.…

Read more Adding custom functions to a site 0 Comment on Adding custom functions to a site
Continue reading Increasing weight for HTML tags

Increasing weight for HTML tags

Relevanssi ignores HTML tags when indexing posts. If you want to give more weight to words that appear in specific HTML tags (like headings), here is one way to do that. You can add this filter function on your site to the theme functions.php or in a code snippet: This code goes through the post…

Read more Increasing weight for HTML tags 0 Comment on Increasing weight for HTML tags