Skip to main contentSkip to footer

I was told that Relevanssi Premium doesn’t index drafts, even though it should (since 1.6). Looks like the feature has gone missing in some update. Sorry about that. This version reintroduces it. Drafts are automatically indexed and shown in admin searches.

I’m also adding the first test version of the declension featured mentioned before. This first version is a simple suffix stripper in English and it removes the following suffixes from words when indexing and searching: -s, -en, -ed, -er, -ly, -ing and -est.

There’s no option to enable the feature. To enable it, add the following line of code in your functions.php:

add_filter( 'relevanssi_stemmer', 'relevanssi_simple_english_stemmer' );

After that, re-index the database.

I’m curious to hear how this works for you. The Relevanssi options page shows the number of rows in the Relevanssi database now – one thing I’m interested in is to know how many rows enabling the stemmer removed from the database. So, give it a go, and tell me what you think of it. Finer controls and other languages will follow.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

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…
Brizy Pro
Brizy is another WordPress site builder and as usual, it too has hard-coded queries that don’t play nice with Relevanssi.…
Pinning posts
Sometimes you want to get a specific post as the first result for a certain search, but Relevanssi doesn’t return…

Related Posts:

Comment Section:

2 Comments. Leave new

  • At this time everything looks ok, i just hope will be in one year or two some updates to support a large number of articles.

    Reply
  • For custom post types, searching them in the admin system fails because posts_per_page might not be set or it’s -1. The problem is that the search high is lower than search low. As such, no search results are returned.

    My quick fix in relevanssi.php at line 953 is the following. Of course, I’m going to fix my custom post type definitions as well.

    if ( $query->query_vars[“posts_per_page”] query_vars[“posts_per_page”] = 20;
    }

    Cheers for an awesome plugin.

    Michael

    Reply

Leave a Reply to Dli Cancel reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed