You should first define a mapping for your fields and use a EdgeNGram analyzer.
Or you can use the suggester plugin: GitHub - spinscale/elasticsearch-suggest-plugin: Plugin for elasticsearch which uses the lucene FSTSuggester
Does it help?
--
David ![]()
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 2 nov. 2012 à 12:29, choudharynarendra choudharynarendra@gmail.com a écrit :
Hi ,
I am new to the Elasticsearch and want to implement the
auto-complete/suggestion on key pressed based on the documents which i have
in the couchdb.. what i have done is stored the profiles in the form of json
in couchdb and i have made the river plugin to link that db in the
elastic-search.Can any body suggest me how to go ahead with the approach for the
autocomplete/suggestions.Thanks
Narendra--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/How-to-do-the-autocomplete-suggestion-with-elastic-search-and-couchdb-tp4024726.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.--
--