Elasticsearch Java Api

How to implement Autosuggestion/Autocomplete by using elaticsearch JAVA API