Hacker News new | ask | show | jobs
by kaushalmodi 3567 days ago
Thanks for the reply. I really like the "comment search" feature in Relay based on time (show and jump through comments added in last X minutes), words (jump through comments that contain certain words), jump to comments based on author (OP, me), etc. There are many more comment search parameters, but these are my favorite.
1 comments

I already have similar request in my backlog. This is gonna be tricky, because I don't have all comments up front as they are loaded on demand (even for saved comments - loaded on demand from cache).
can't you just utilize the algolia search api for hacker news? https://hn.algolia.com/api

sure, its one more query to run but i think it would be fast enough.

Yeah that's one way to go. Probably I'll use Algolia for users that prefer up front loading. It's slower than official API but would do the job.