Our site uses the Modern Tribe Events Calendar plugin for managing events. A lot of our events are recurring so we have chosen to only include the next upcoming event in the index so the events are not repeated multiple times in the search results. I’ve already figured out how to exclude all events in a recurring series except for the next upcoming event.
Now I need to rebuild the index on a regular (daily probably) interval so the index is kept current with events. How can I programmatically trigger the Algolia plugin to re-index data?