(no title)
spectre256 | 7 years ago
> Exact matches always come first.
One place this very first rule doesn't work is autocomplete for geocoding.
If you are typing "London":
- There is a village called Lon, Pakistan [1]
- There is also a village called Lond, Pakistan [2]
- There are numerous places called Londo all over the world [3]
So its necessary to determine that some places are more likely to be typed than others (population is a commonly available number that can help, but doesn't always work), or autocomplete becomes useless.
[1]https://spelunker.whosonfirst.org/id/1209616309/
[2]http://www.geonames.org/1370290/lond.html
[3]http://www.geonames.org/advanced-search.html?q=londo&country...
hug|7 years ago
It turns out that people in London, England have to type 2 more letters, a task that I am sure is not beyond them.
afiori|7 years ago
Together with all the other millions of people that write London around the world.
According to google trends London is searched about 20-30 times more often than Lon.
Sorting Lon before London (in absence of more information) seems a bad choice.
sethammons|7 years ago