Is there a "real" autocomplete anymore in elastic?

I understand the problem. I was asking for a script to reproduce it.

Like it is described in: