Continue reading Forced phrase search with fallback

Forced phrase search with fallback

Relevanssi by default does not consider the search query a phrase, or value posts where the words in the search query appear together. Sometimes people do expect that, especially in AND searches. Relevanssi however does not have the information about the nearby words, so it’s not possible for Relevanssi to factor that in. Relevanssi does…

Read more Forced phrase search with fallback 0 Comment on Forced phrase search with fallback
Continue reading WP Download Manager

WP Download Manager

WP Download Manager is a popular file management plugin for WordPress. It’s unfortunately incompatible with Relevanssi attachment content reading out of the box, as Relevanssi expects the attachments to be stored in the Media Library, and WP Download Manager stores the files outside Media Library. Fortunately Relevanssi includes the necessary filter hooks that make it…

Read more WP Download Manager 0 Comment on WP Download Manager
Continue reading Searching for all descendants of a page

Searching for all descendants of a page

If you want to restrict a search to a page and all it’s children, you can add a post_parent parameter to the search, and that’s it – but that only includes the direct children of the page. What if you want to include page, it’s children, all the grandchildren and their children? In that case,…

Read more Searching for all descendants of a page 0 Comment on Searching for all descendants of a page
Continue reading Premium 2.12 / Free 4.10

Premium 2.12 / Free 4.10

This version started as a small update to 2.11 and 4.9, but then a customer request made me add a major enough feature to warrant a bigger version number update. The big new feature in this version is multilingual stopwords and synonyms. If you’re using WPML or Polylang and have your site in multiple languages,…

Read more Premium 2.12 / Free 4.10 0 Comment on Premium 2.12 / Free 4.10
Continue reading PSA: New ransom scam in town

PSA: New ransom scam in town

We were threatened with a new ransom extortion message. I haven’t seen this one before, looks like it’s new but already spreading out widely. I’m sharing it here as to remind everyone that even though messages like this can feel scary, they’re fake. Just look at this: The message is a weird mix of highly…

Read more PSA: New ransom scam in town 0 Comment on PSA: New ransom scam in town
Continue reading Multi-part excerpts

Multi-part excerpts

Relevanssi Premium 2.11 introduces a new feature: multi-part excerpts. There’s a new setting on the Excerpts & Highlights settings tab, “Number of excerpt snippets”, and that lets you define the maximum number of excerpt snippets Relevanssi generates for each post. How does it work This option is only available when the excerpt length is defined…

Read more Multi-part excerpts 0 Comment on Multi-part excerpts
Continue reading Premium 2.11 / Free 4.9

Premium 2.11 / Free 4.9

It’s been a while since the previous version, and the list of features and bug fixes in this version has grown long. This version includes several interesting new features, both for free and Premium. Free version users get access to better debugging tools. There’s now a Debugging tab in the Relevanssi settings, which lets you…

Read more Premium 2.11 / Free 4.9 0 Comment on Premium 2.11 / Free 4.9
Continue reading Can Relevanssi access content outside WordPress?

Can Relevanssi access content outside WordPress?

Short answer: no. Relevanssi can only access WordPress content. For a longer answer, read on. Only within single WP installation Relevanssi only operates within one WordPress installation. Relevanssi Premium supports multisite searching, where the search can return posts from more than one subsite at once, but even in those cases the WordPress sites must be…

Read more Can Relevanssi access content outside WordPress? 2 Comments on Can Relevanssi access content outside WordPress?
Continue reading Restricting posts in the index

Restricting posts in the index

The relevanssi_indexing_restriction filter hook is often the best way to restrict what goes in the Relevanssi index and what not. There’s also relevanssi_do_not_index, which is also a fine way to approach this and is often easier to apply when you’re talking about blocking individual posts, but for larger exclusions, relevanssi_indexing_restriction is better. Extensive use of…

Read more Restricting posts in the index 0 Comment on Restricting posts in the index
Continue reading Effect of Relevanssi on page speed

Effect of Relevanssi on page speed

A Relevanssi customer asked whether Relevanssi can slow down a site. They have a slow site and their hosting provider had suggested Relevanssi might be the reason, because Relevanssi had a huge table in the site database. That is true – Relevanssi tables can be really big. But they’re not accessed at all except during…

Read more Effect of Relevanssi on page speed 0 Comment on Effect of Relevanssi on page speed