GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
new parameter 'isNameRequired' for the place name search  XML
Forum Index -> General
Author Message
marc



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

the full text search has a new optional parameter called 'isNameRequired' :

At least one of the search term needs to be part of the place name. Example : A normal seach for 'Berlin' will return all places within the state of 'Berlin' and not only the places called 'Berlin'.
If we only want to find places with 'Berlin' in the name we se the parameter isNameRequired to 'true'. The difference to the 'name_equals' parameter is that this will allow searches for 'Berlin, Germany' as only one search term needs to be part of the name.

Cheers

Marc

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