Auto index new posts and updated posts

[ad_1]

If WP Search With Algolia automatically indexes new posts when they are created and if existing posts get re-indexed when they are updated.

Yes, it should all be self-maintaining on new content and updated existing content.

Out of curiosity, in what way were you seeing things that seemed to indicate otherwise? For example are you using something like ACF or other custom field plugins and updating those didn’t seem to update the index?

Here’s the actions/filters we use to listen to post changes:
https://github.com/WebDevStudios/wp-search-with-algolia/blob/main/includes/watchers/class-algolia-post-changes-watcher.php#L72-L100

Most specifically the save_post action hook.

Thanks for pointing me to the Github code. Seems like you have it all accounted for. It’s not something we’ve consistently seen, it might just be a fluke. We have an existing page that was updated and it was no longer in our index. I’ll keep an eye out for any future anomalies or examples of the indexing not working as expected. I appreciate the quick reply!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer