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 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 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? 0 Comment 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
Continue reading Why we don’t offer free trials

Why we don’t offer free trials

Often users would like to get a free trial of Relevanssi Premium, but we always say no. Why is that? The answer is simple: we offer our customers such liberties that providing a temporary trial use is difficult. Relevanssi customers have liberties We don’t believe in spying our customers or restricting their use of the…

Read more Why we don’t offer free trials 0 Comment on Why we don’t offer free trials
Continue reading Debugging with Query Monitor

Debugging with Query Monitor

Query Monitor is by far the best thing for a WordPress developer. It’s billed as the “Developer Tools panel for WordPress”, and that’s a good way to put it. If you’ve ever used the browser developer tools, you know what to expect. Query Monitor is a good way to figure out problems in Relevanssi searches,…

Read more Debugging with Query Monitor 0 Comment on Debugging with Query Monitor
Continue reading Exact matches for short search terms

Exact matches for short search terms

Is is possible to set Relevanssi in a way that it would return only perfect matches for queries up to 3 characters, but any words that starts with the queried term if it has 4 characters or more? – Originally asked here Yes, but it requires a bit of coding. With the latest version (free…

Read more Exact matches for short search terms 0 Comment on Exact matches for short search terms
Continue reading Wildcard matching

Wildcard matching

Relevanssi Premium 2.10.2 introduces new way to search: wildcard matching. Once the wildcard matching is enabled (it is disabled by default), it introduces two new operators: * and ?. Using the wildcard operators The * operator replaces zero or more characters, so searching for w*ess would match “wilderness”, “witness”, “WordPress” and also “wess”. The ?…

Read more Wildcard matching 0 Comment on Wildcard matching