5 ms·
Based purely on the speed of the results, I believe that the crawling is happening in real time. The search is scoped by channel, so the closed-caption files f
by alex_smart 4y ago
Based purely on the speed of the results, I believe that the crawling is happening in real time.
The search is scoped by channel, so the closed-caption files for all the videos in the channel are downloaded and searched for on the fly.
Edit: Wow, thanks to dev tools, I can see that the website is downloading the transcript and metadata for all the videos from the channel to the client. So the search is happening client-side!!
- kellenmace 4y agoHey @alex_smart- Yep! You're exactly right. My app performs as much of the fetching and searching work as possible on the client, then calls serverless function API endpoints for the few things that can't be done in-browser. I replied to @lewisjoe's comment above this one with some more details about tricks I'm employing to make searches fast. Thanks for checking out my project!