Relevanssi icon
eCommerce & WooCommerce

Relevanssi

Relevanssi replaces the default search with a partial-match search that sorts results by relevance. It also indexes comments and shortcode content.

  • By Christoph Vielgrader
  • v4.28.8
  • Updated

Overview

Relevanssi describes itself as: “Relevanssi replaces the default search with a partial-match search that sorts results by relevance. It also indexes comments and shortcode content.”

It is active on 100,000+ WordPress sites and rated 4.8 out of 5 by 406 users on WordPress.org. Developers can extend it through 13 actions and 172 filters, listed below.

We haven't published a hands-on review of Relevanssi yet. Want one, or need help with it? Send us a request.

How to install Relevanssi

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Relevanssi” and pick the one by Christoph Vielgrader.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install relevanssi --activate

Requirements: WordPress 4.9+ · PHP 7.1+ · tested up to WordPress 7.1.4

Hooks & customisation

Relevanssi 4.28.8 fires 13 actions and 172 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

relevanssi — top hooks
// This filter is documented in lib/indexing.php
apply_filters( 'relevanssi_indexing_tokens', … );

// Adds in a missing sorting value.
apply_filters( 'relevanssi_missing_sort_key', $key1, $key );

// Filters the capability required to access Relevanssi options.
apply_filters( 'relevanssi_options_capability', 'manage_options' );

// This filter is documented in wp-includes/post-template.php
apply_filters( 'post_password_required', false, $post );

// Filters the capability required to access Relevanssi admin search page.
apply_filters( 'relevanssi_admin_search_capability', 'edit_posts' );

// Filters whether meta query can use REGEXP or NOT REGEXP comparison. This is a…
apply_filters( 'relevanssi_allow_meta_query_regexp', false );

Browse all 185 hooks with examples →

Need Relevanssi customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Christoph Vielgrader. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

Alternatives in eCommerce & WooCommerce

See all →
WooCommerce icon

WooCommerce

4,832

Everything you need to launch an online store in days and keep it growing for years. From your first sale…

7+ million installs Reviewed 2852 hooks

Native integration with Google that allows merchants to easily display their products across Google’s network.

800,000+ installs 123 hooks

PayPal's latest payment processing solution. Accept PayPal, Pay Later, credit/debit cards, alternative digital wallets and bank accounts.

800,000+ installs 302 hooks