We are building a website that has documentation pages, and we have a search bar on the page, that’s the place we use Algolia.
In order to make the search bar works, we need to index those pages first, and in order to index those pages we need them be public on the internet first. But we don’t want to deploy the whole thing to the public before we have the search bar works. So it’s a chicken-and-egg problem: We need search bar to work to push to prod, but we need to push prod first to index the pages.
How to solve the dilemma???