GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Best way to implement name search in Geoname database  XML
Forum Index -> General
Author Message
victorin



Joined: 13/05/2009 10:42:13
Messages: 1
Offline

Hi, I'd like to know the best way to efficiently search for names in Geoname's databases, just like it's done in geoname search API functions

I've noticed that if you search for an alternate name it finds the right place properly, so my question is what indexes/joins are needed?

And another question is how geoname's api sort/choose among results because if I do a simple fulltext query in my imported Geoname table it returns more than 10 rows, on the other hand geoname's api only return 4 places for the same query.

Thank you!!
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

The GeoNames search is not database driven. It is a dedicated fulltext search index.

Best

Marc

[WWW]
Richard Tobin



Joined: 06/02/2008 16:22:48
Messages: 7
Offline

marc wrote:
The GeoNames search is not database driven. It is a dedicated fulltext search index. 


Is the code available so we can run local copies?
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

The code is not available. I simply don't have the time to also provide support for this.

Best

Marc

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