Jorg The second link is not working. Completion suggester is a good thing but it is restricted to prefix queries only I guess. You will have to give every possible combination of a user typed query for a document to be matched. Please correct me if I;m wrong
Thanks On Sunday, 2 February 2014 00:03:09 UTC+5:30, Jörg Prante wrote: > > 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/720c3be5-f5cf-4385-a6ba-da1263442290%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.