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.
Thread Starter
Hkroed
(@sprithansi)
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 6 years, 9 months ago by
Hkroed.
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.
Thread Starter
Hkroed
(@sprithansi)
Will this work if I don’t have premium?
Yes. WP CLI is a Premium feature, but relevanssi_build_index()
is not, it’s the same in free and Premium.