...

/

Examining Google's Autocomplete Functionality

Examining Google's Autocomplete Functionality

Before we begin building, we'll analyze Google search Engine's Autocomplete Functionality which is the component that we're aiming to build.

Let’s do a little exploring to account for all the edge cases that aren’t apparent at first, but might affect our implementation.

Case 1: #

When there exist multiple results of the same string, the detail is added after a hyphen

widget

Case 2: #

Results seem to assume for some autocorrect, and therefore won’t always be prefixed by what’s in the input bar. In such cases, the entire result is bolded.

widget

Case 3: #

...