Autocomplete (suggestions) of search terms in a search box


The following is a use case which needs clarity, your input is greatly appreciated:

1- Search term is entered into search input box

2- Autocomplete makes possible suggestions from a taxonomy

How is the autocomplete carried out, very much like Google search. Thank you.