Is anyone who knows how to use auto completion in Elastic Search?

Is anyone who knows how to translate these auto completion
(http://stackoverflow.com/questions/20789224/elasticsearch-autocomplete-search-on-array-field)
code to Java code, I am using Jest
(https://github.com/searchbox-io/Jest/tree/master/jest) as the client side
API. Here is the document for auto completion in Elastic website
(http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html).

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/00b7a468-a4d1-43b8-817e-65e2a66782d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.