Continue reading Using AND and NOT for Boolean operators

Using AND and NOT for Boolean operators

Relevanssi Premium has support for in-query Boolean operators. Relevanssi uses + and – for the operators: cats -dogs and cats +kittens. If you prefer instead to use the verbal AND and NOT operators, it only takes one small function. Add this to your site: This function (on the relevanssi_search_filters hook) looks at the search query…

Read more Using AND and NOT for Boolean operators 6 Comments on Using AND and NOT for Boolean operators
Continue reading ACF: Indexing ACF fields for taxonomy terms

ACF: Indexing ACF fields for taxonomy terms

Advanced Custom Fields makes it possible to add custom fields to taxonomy terms. You can only do this with Relevanssi Premium because the free version of Relevanssi can’t index taxonomy terms. Suppose you set Relevanssi to index custom fields. Relevanssi won’t index these taxonomy custom fields because taxonomy terms aren’t generally allowed to have custom…

Read more ACF: Indexing ACF fields for taxonomy terms 2 Comments on ACF: Indexing ACF fields for taxonomy terms
Continue reading Relevanssi 4.0.3

Relevanssi 4.0.3

Version 4.0.3 fixes problems in Relevanssi 4.0.2. The biggest issue is the indexing: version 4.0.2 always leaves some posts unindexed and requires the user to continue indexing. This version fixes that issue and other small issues. Relevanssi didn’t index all posts with one go. It does now. © and ® symbols caused problems in indexing;…

Read more Relevanssi 4.0.3 0 Comment on Relevanssi 4.0.3
Continue reading Relevanssi Premium 2.0.3

Relevanssi Premium 2.0.3

Version 2.0.3 is mostly maintenance, fixing bugs in previous versions. There have been some issues with the PDF indexing, some wrinkles we’re still ironing out. As a new feature, you can now have Relevanssi automatically read the contents of new PDF files – that wasn’t possible before. This setting is disabled by default, as it…

Read more Relevanssi Premium 2.0.3 0 Comment on Relevanssi Premium 2.0.3
Continue reading Index custom field contents

Index custom field contents

Custom fields (also known as post meta or meta fields) are a major part of WordPress the default search won’t search. That’s a big problem for people who use solutions like Advanced Custom Fields or Carbon Fields to develop sites: on sites developed with custom field plugins large parts of the post, content may be…

Read more Index custom field contents 50 Comments on Index custom field contents
Continue reading SearchWP Live Ajax Search

SearchWP Live Ajax Search

Relevanssi doesn’t ship with a live search or autocomplete feature that would display results as the user types the search terms. There are many other plugins that provide this functionality, but few of these plugins work with Relevanssi. SearchWP Live Ajax Search is the best one that does. It’s very……easy to use, most of the time just install and go (it doesn’t even have a settings page!). Update January 2022: Use Relevanssi Live Ajax Search instead! It requires none of these fixes and has other enhancements for Relevanssi users. Attachments Sometimes the default settings are not good enough, though….

Read more SearchWP Live Ajax Search 13 Comments on SearchWP Live Ajax Search
Continue reading Indexing and searching PDFs in WordPress

Indexing and searching PDFs in WordPress

…service on a separate server. Which PDF files can you index? Since Relevanssi is a WordPress search, Relevanssi operates on WordPress posts (including all the different post types). So, to have Relevanssi index your PDFs, they need to be WordPress posts. That’s fortunately really simple: upload your PDF files to……the Media library, and they become posts with the post type of attachment. Relevanssi can only parse and read PDF files that contain text. If the PDF file is all images, Relevanssi cannot read it. An easy way to check is to try to select the text in a PDFRelevanssi Premium users have asked for PDF indexing since day one, and version 2.0 finally introduced this feature. Coming up with a fast and reliable method hasn’t been easy, but we’re pretty proud of what we have now. Our PDF indexer doesn’t tax your server as it runs as a…

Read more Indexing and searching PDFs in WordPress 78 Comments on Indexing and searching PDFs in WordPress
Continue reading Premium 2.0.2 / Free 4.0.2

Premium 2.0.2 / Free 4.0.2

Time for another maintenance release. There have still been some bugs in the new indexing procedures. For free version, the new release removes some error notices, improves support for page builders and makes the Polylang setting work better. For the Premium version, all those apply, and then some more: New filter: relevanssi_multisite_public_status lets you make…

Read more Premium 2.0.2 / Free 4.0.2 2 Comments on Premium 2.0.2 / Free 4.0.2
Continue reading Relevanssi 4.0

Relevanssi 4.0

Relevanssi 4.0 has completely redone the settings page. It has been rewritten and split into tabs, to make everything easier to access, understand and use. The indexing procedure is now much smoother, with no need for babysitting and repeated clicks of “Continue indexing” to index a large database. Just click “Build index” once, and that’s…

Read more Relevanssi 4.0 4 Comments on Relevanssi 4.0
Continue reading Relevanssi Premium 2.0

Relevanssi Premium 2.0

…deactivate the plugin and reactivate it, in order to have the database structure changes take effect. Here’s the changelog for 2.0: Legacy code has been removed. If you have a version older than 1.16, update first to 1.16.x to guarantee smooth upgrade process. This version includes a small database change,…

Read more Relevanssi Premium 2.0 6 Comments on Relevanssi Premium 2.0