3 ms·
Load it all into Elasticsearch and just do an API call.
by vasco 7y ago
Load it all into Elasticsearch and just do an API call.
- abalone 7y agoNetwork latency is an issue then. The word list is going to lag behind keystrokes. Also, doesn't work offline.
- vasco 7y agoIf you assume your corpus fits in the same instance (since you mention offline), you can run a single node elasticsearch on the same instance as well.
- abalone 7y agoNo, you can't run elasticsearch offline on a web client. Look, we can keep going back and forth and maybe you'll dig up some javascript library that implements a search. And that's fine, I believe there are "maker" roles that largely are about gluing things together and translating requirements into code and shouldn't require screening for CS fundamentals. But at some point it gets a little hacky and suboptimal if you lack a good practical grasp of computer science.