GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
name_equals matching algorithm
Forum Index
->
General
Author
Message
29/02/2008 12:08:22
Subject:
name_equals matching algorithm
ofrias
Joined: 15/01/2008 09:49:58
Messages: 27
Offline
Hi.
Which is the algorithm that is used to find matches when the parameter "name_equals" is used in the webservice?
It looks like it is not simply the SQL operator 'LIKE' because for example "Aix Les Bains" is matched against "Aix-Les-Bains".
I would like to reproduce this behavior in my local MySQL database.
Thanks,
Oscar.
29/02/2008 12:18:30
Subject:
Re:name_equals matching algorithm
ofrias
Joined: 15/01/2008 09:49:58
Messages: 27
Offline
Another example of nice match is "Brueggen" matching "Brüggen".
This is also beyond the scope of a simple LIKE.
Oscar.
02/03/2008 17:11:57
Subject:
Re:name_equals matching algorithm
marc
Joined: 08/12/2005 07:39:47
Messages: 4486
Offline
the search is based on the full text search engine library lucene. It is not a simple sql command.
Marc
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About