Hacker News new | ask | show | jobs
by mcdonje 1222 days ago
My first reaction was that you need to send all potential search results across the network in the DB, which would be ok for a small app.

So, I guess there's a goldilocks app size where this is a good solution.

1 comments

I have seen this technique (send all the indexed search terms) a few times in the wild. Racket (a scheme derivative specifically made for teaching) has a search page where everything public is indexed [1] (see plt-index.js) and it works really well.

[1] https://docs.racket-lang.org/search/index.html