Right now I'm getting data from elasticsearch and putting that in availableSuggs array and then I'm using jQuery autocomplete to show suggestions but that is not that good. Is there any function available with elasticsearch.js API or anything else which can directly show suggestion at search box from elasticsearch as user types?
What I mean is I'm getting JSON object from elasticsearch server using search API and putting that data in availableSuggs array and then showing suggestion with the help of jQuery autocomplete. Does elasticsearch have any feature which can help me show suggestion in search box without using jQuery autocomplete?