The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Relevanssi - A Better Search
[resolved] Relevanssi Chron Indexing (3 posts)

  1. ITS Alaska
    Posted 5 years ago #

    WordPress has a built in chron job handler

    i put this in my theme file:

    if (!wp_next_scheduled('relevanssi_build_index')) {
    	wp_schedule_event( time(), 'daily', 'relevanssi_build_index' );

    Will this build the index every day? and if it will, why isn't this part of the plugin. i don't want to have to index every time i update my shortcode handled pages.


  2. Mikko Saari
    Plugin Author

    Posted 5 years ago #

    Yes, it will rebuild the index every day. It's not part of the plugin because a) it didn't come to my mind (even though I've used scheduled events a lot) and b) 99% of users won't need it.

    This is necessary only when you're using lots of shortcodes or other dynamic content. Also, if your database is large enough that your server can't index it on one go, this'll create problems.

  3. ITS Alaska
    Posted 5 years ago #

    Thanks for including this in the FAQ!
    I feel special.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic