Address suggester


#1

Hello,

I want to develop an "address suggester / correcter".
Query ex: "New yo, Broad", expected result "New York, Broadway".
I think use a "completion suggester" but it seem to work like a 'prefix' query.
Do you have some example? thx.

BR,


(David Kemp) #2

I just recently wrote an article on different approaches to implementing autosuggest using Elasticsearch. Hopefully, you may find it useful:
http://techblog.realestate.com.au/implementing-autosuggest-in-elasticsearch/


(David Kemp) #3

The completion suggester, as you point out, is quite restrictive (but it is efficient). Using phrase prefix matches and/or edge ngram matching is a much more flexible approach.


#4

Yes, I see.


(system) #6