DEV Community

nphamvn
nphamvn

Posted on

How does dev.to index data to Algolia (before and after Algolia was added)?

Hey folks ๐Ÿ‘‹

Iโ€™m curious how dev.to handles search with Algolia โ€” especially when it comes to syncing data.

How did you handle indexing all the older content (posts, comments, etc.) that was created before you started using Algolia?

And how is new content kept in sync now? Is there a job, webhook, or some auto-trigger?

Also, if possible โ€” where in the forem repo can I find the code that handles this? Would love to see how itโ€™s implemented.

Trying to figure out the best way to approach this for my own project, and itโ€™d be awesome to learn from how you all did it.

Thanks in advance!

Top comments (0)