GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
name_equals matching algorithm  XML
Forum Index -> General
Author Message
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.
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.
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

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team