Skip to main contentSkip to footer
Here’s the changelog for Relevanssi 2.9.2:
  • It’s now possible to adjust the number of search results per page. See Changing posts_per_page for instructions.
  • Somebody reported revisions appearing in the search results. Added an extra check to prevent that.
  • Improved the indexing procedure to prevent MySQL errors from appearing and to streamline the process.
  • Improved the way custom post types can be handled in indexing.
  • Improved the method of removing nested highlights.

Your account

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

Search

Popular Resources

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: add_filter( ‘relevanssi_search_filters’, ‘rlv_boolean_operators’ ); function rlv_boolean_operators(…

Indexing with a cron job

…this happen in practice, you need two files. First, create a file relevanssi-start-indexing.php with this content: <?php require ‘wp-blog-header.php’; relevanssi_build_index( false, false, 100 ); and then a file relevanssi-continue-indexing.php with this content: <?php require ‘wp-blog-header.php’; relevanssi_build_index( true, false, 100 ); This assumes the files are in your WP installation root……directory. If they’re not, adjust the path to wp-blog-header.php so that it points to the right place. Now to start indexing, have the cron job visit the relevanssi-start-indexing.php – this will start the indexing and will index 100 posts. Then have the cron job visit relevanssi-continue-indexing.php as many times as…

Related Posts:

Currently there are no related posts available.

Comment Section:

3 Comments. Leave new

  • Sorry about this. 2.9.2 is indeed broken — I removed a function, but missed an add_action() call that required it. I’ve just released 2.9.3 that fixes this problem. Strange, though, that such a small thing can cause such great havoc. Terribly sorry about the trouble!

    Reply
  • Just upgraded and got this error on the dashboard and on the homepage:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘relevanssi_getLimit’ not found or invalid function name in /home/juanele/public_html/wp-includes/plugin.php on line 220

    Reply
  • Hi,

    I just update to 2.9.2 and in my Homepage where I have just 4 posts now is showing ALL POSTS…….is a big mess……something in this new version broke the Wp loop…….

    Can you have a look, please?

    Reply

Leave a 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