How do I implement search-autocomplete like on http://www.elasticsearch.org or google?

Is there a tutorial available how to implement an search-autocomplete like
on http://www.elasticsearch.org or goolge ?
Can it be done with the new suggest-API ?
I tried something like:
_suggest
{
"my-suggestion" : {
"text" : "berlin",
"term" : {
"size" : 6,
"field" : "title"
}
}
}
but I only get back single words similar to "berlin" and no further words
like in the google-search-autocomplete.
Can I do this with the suggest-API ?

Thanks a lot
Martin

--
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.
For more options, visit https://groups.google.com/groups/opt_out.