Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
michaels12
· 12y ago · 0 comments
Great! A bit off topic, but how do you get instant searching on the website as you type? (I'm a amateur programmer).
Comments
[–]
anonfunction
12y ago
I use jQuery to send an AJAX request to nodejs which then queries elasticsearch and returns the rendered html which I switch out the DOM with.
[–]
wololo_
12y ago
You should have array caching for the responses coded!