Does elasticsearch.js API for show suggestion in search box or I have to use jQuery autocomplete?

(radhe) #1

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?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.