• Resolved gleenk

    (@gleenk)


    Hi guys, is there a way, maybe in pro version, to sync post daily or when a post is saved? How it works exactly? Do I have to push a button every day?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Good day @gleenk

    Any time any piece of content from content types that are getting indexed, it’ll self-update the index with that item. So if you have your “Sample Page” indexed, and you go in and change the post content to be more an “About Us” messaging, that’ll get reflected and updated in Algolia upon save. So the content as you work on it, should be self-managing.

    Regarding bulk re-indexing, you should be able to make use of real, not WP, cron jobs alongside WP-CLI, for which we have some documentation at https://github.com/WebDevStudios/wp-search-with-algolia/wiki/WP-CLI about. You could create the cron job to regularly run an available WP-CLI command and process that way. You’d want to do this any time you do maybe some bulk importing of content, or if you change configuration so that all the already indexed content can have the changed configuration processed. For example, if you decided to index some custom fields that weren’t already getting indexed, you’d want to run a bulk re-index so all the content gets their field values included in the end.

    Thread Starter gleenk

    (@gleenk)

    Thank you so much. Really appreciated

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome. Let us know if you need anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.