Address suggester



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.


(David Kemp) #2

I just recently wrote an article on different approaches to implementing autosuggest using Elasticsearch. Hopefully, you may find it useful:

(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.


Yes, I see.

(system) #6