Thanks for the help. I am able to see the correct results now, but could you please suggest how to write following query in java
curl -X POST localhost:9200/hotels/_suggest -d ' { "hotels" : { "text" : "m", "completion" : { "field" : "name_suggest" } } }' -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Re-Type-Ahead-feature-for-contact-list-tp4057883p4057889.html Sent from the ElasticSearch Users mailing list archive at Nabble.com. -- 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/1403028901688-4057889.post%40n3.nabble.com. For more options, visit https://groups.google.com/d/optout.