There is massive effort to implement autosuggest completion in most convenient ways.
Since 0.90.3, there is the Lucene suggester implemented in ES http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html The Lucene FST is faster and more compact than n-grams and may serve most use cases well. But there is no general solution to autocomplete, like for search in general. It depends on the words in the index and how to search them. E.g. for german language, you probably need extra analysis for normalization forms, like decompounding and baseform reduction, to better support what the user wants. If you look at (older) solutions that do not use Lucene FST, you can use edgeNgram, a linguistic method that takes considerably more space. A demo is here http://jprante.github.io/applications/2012/08/17/Autocompletion-with-jQuery-JAX-RS-and-Elasticsearch.htm Jörg -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEQve7qhKOLL4gFzZnt4zcoNcFUYYwSiKOPO1pE_rtRCA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
