Support » Plugin: Relevanssi - A Better Search » AutoIndex

  • Resolved Hkroed

    (@sprithansi)


    Hi!
    I try to get Relevanssi to start auto indexing. I use WP Crontrol, and added a new cron
    Hook name: relevanssi_build_index( false, false )
    Arguements:

    I also have cron through cPanel, but I just don’t understand how to set it up. Can you please make a howto for dummies 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mikko Saari

    (@msaari)

    There’s no need to do anything. Relevanssi will automatically index all new and edited posts, without any cron jobs or anything. So the howto for dummies is this: do nothing, it just works.

    Sorry, forgot to mention that I import products to WooCommerce with WPAllImport…
    After every import, I need to manually start the indexing

    • This reply was modified 2 years, 2 months ago by Hkroed.
    Plugin Author Mikko Saari

    (@msaari)

    It would be easiest with Relevanssi Premium and WP CLI, where you could just make cron run wp relevanssi index and be done with it.

    The command is relevanssi_build_index( false, false, null, false );; making that an action in WP Crontrol should work, I think. I’ve never done that myself, so can’t tell for sure.

    Will this work if I don’t have premium?

    Plugin Author Mikko Saari

    (@msaari)

    Yes. WP CLI is a Premium feature, but relevanssi_build_index() is not, it’s the same in free and Premium.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AutoIndex’ is closed to new replies.