Continue reading Utf8mb4 charset and index problems

Utf8mb4 charset and index problems

If you use utf8mb4 charset, Relevanssi database table may be missing an index. That’s because part of the index includes a column type that is of varchar(210) type. This is fine with utf8, but fails for utf8mb4, which only allows columns 191 characters long (because maximum column size is 767 bytes, and for 4-byte utf8mb4…

Read more Utf8mb4 charset and index problems 0 Comment on Utf8mb4 charset and index problems
Continue reading Free 3.5.5

Free 3.5.5

Relevanssi 3.5.5 is out now and available from the plugin repository. 500 errors caused by arrays in custom fields should be gone now. Improvements to the ACF “select” field support. Relevanssi will not break when frontend plugins insert posts. relevanssi_match filter has a new parameter, which contains the search term. Polylang support has been improved.…

Read more Free 3.5.5 0 Comment on Free 3.5.5
Continue reading Premium 1.14.5

Premium 1.14.5

Relevanssi Premium 1.14.5 is a recommended release, as it fixes significant bugs that caused failures when custom fields contained arrays and when front-end plugins created posts. Multisite users are happy to find out meta_query support has been added to multisite searches and the post type filters work better. Relevanssi had problems with plus signs in…

Read more Premium 1.14.5 1 Comment on Premium 1.14.5
Continue reading Relevanssi Premium as a Composer package

Relevanssi Premium as a Composer package

If you want to install Relevanssi Premium as a Composer package, you can use the following URL to fetch the latest version: https://www.relevanssi.com/update/fetch_latest_version.php?api_key=XXX Replace XXX with your valid API key. The URL will always return the latest version of the plugin files. If you want a specific version, you can use the following: https://www.relevanssi.com/update/get_version.php?api_key=XXX&version=2.20.1 The…

Read more Relevanssi Premium as a Composer package 0 Comment on Relevanssi Premium as a Composer package
Continue reading Premium 1.14.3

Premium 1.14.3

Version 1.14.3 of Relevanssi Premium is out. This version includes small bug fixes. One of the bugs affects relevancy values of posts, which can be significant, so I would recommend updating. Fix for a small bug that caused inflated relevancy values. relevanssi_didyoumean_url has two more parameters (uncorrected query and the suggestion). The Did you mean…

Read more Premium 1.14.3 0 Comment on Premium 1.14.3
Continue reading Category filter for search results pages

Category filter for search results pages

Sometimes it’s nice to have a category filter on the search results pages: a simple dropdown where you can choose the category you want to show. It’s easy to create one using wp_dropdown_categories() but on a search results page, that’s slightly problematic, as it’ll include all categories, not just those included in the search results.…

Read more Category filter for search results pages 33 Comments on Category filter for search results pages
Continue reading Infinite Scroll from Jetpack

Infinite Scroll from Jetpack

Jetpack has Infinite Scroll, which is a pretty cool feature, but unfortunately doesn’t work with Relevanssi on search results pages. Infinite Scroll uses WP_Query to get more posts, and that isn’t compatible with Relevanssi. I’m not aware of a solution that would allow Infinite Scroll to work with Relevanssi. There isn’t enough room for customization…

Read more Infinite Scroll from Jetpack 0 Comment on Infinite Scroll from Jetpack