Hacker News new | ask | show | jobs
by jsmartonly 5271 days ago
For Autocomplete, there are two usage cases

1) Partial Data, but fast 2) Complete List of data for user to select interactively

Google search belongs to 1) -- they simply can not display ALL matches to you. I guess they just show a few of the most relevant ones.

In other cases, your data set is not huge, so the goal is to make data selection more visible to user for easy selection. Speed is the secondary goal in this cases.

If you only goal is speed, obviously you need to cache subset of data based some conditions.

Hope this helps.