I\'m trying to create an autocomplete demonstration using some data in elasticsearch. I have a simple code that takes an input, then returns a list of recommended autocomple