Hi,
I noticed the suggest is being triggered after each keystroke hammering the server and likely producing irrelevant results i.e. if just one or two characters are entered.
Ingoring the 5xx responses for now I’d like to recommend (based on tuning a search server myself) the follow:
-
Add a timeout of 200ms before sedning the request
Note: A timout of 200 to 300 ms is confirmed to be the cognitive waittime where a subject considers the decision final (i.e. click on a link) -
Send a request if two or three characters were entered
Elastic Search is generally quite resource intensive. easing the pressure would help drastically.
Best
Mike
