When does the Swiftype Search WordPress plugin sync posts?


#1

How often are posts synced with the Swiftype WordPress plugin?

I’m finding that my posts do not update for some reason and are not able to be searched unless I manually synchronize the entire engine from the WordPress admin panel.

The Swiftype WordPress plugin is designed to synchronize posts with your Swiftype search engine automatically whenever a post is saved or deleted. It will also index posts when the status changes from future to publish.

As of this writing, the Swiftype WordPress plugin only hooks into the save_post action if the post is being edited in the WordPress admin. If you’re adding posts using the WordPress API, indexing will not be triggered.

Additionally, to index posts when the status changes from future to publish requires that wp_cron be enabled (or triggered regularly) to properly capture post status changes.