<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Results are too restrictive"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Results are too restrictive"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Results are too restrictive</title>
				<description><![CDATA[ I'm using Geonames to provide a way for users to type in a location. However, I'm finding it doesn't return as many results as I'd expect.

To replicate- Restrict the search to California, and search for "San".

Expected- All places with "San" in their name would be returned.

Actual- Only 3 places returned- San Diego, San Juan Capistrano, and San Pablo. (No San Francisco, etc)


Get URL - http://api.geonames.org/searchJSON?adminCode1=CA&countryBias=US&featureClass=A&featureClass=P&featureClass=H&featureClass=L&featureClass=T&fuzzy=0.5&name=San&style=MEDIUM&username=demo

Any suggestions for increasing the number of results?
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4321.page#12606</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4321.page#12606</link>
				<pubDate><![CDATA[Sun, 14 Jul 2013 22:22:29]]> GMT</pubDate>
				<author><![CDATA[ jamessw]]></author>
			</item>
			<item>
				<title>Re:Results are too restrictive</title>
				<description><![CDATA[ You should remove the fuzzy parameter from your query. With the fuzzy parameter the search does some sort of exact name search with spelling variations. Without the fuzzy parameter it is looking for all names with the search term in the name. The reason is that with the fuzzy search you get tons of more result and in your case you would match nearly the entire database.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4321.page#12616</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4321.page#12616</link>
				<pubDate><![CDATA[Wed, 17 Jul 2013 09:28:57]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Results are too restrictive</title>
				<description><![CDATA[ For the situation described in the (old) post below it seems reasonable that the search is abandoned. However, for other situations this is less clear. How exactly is this behaviour determined/implemented?

For example, the following query does not return any results:

<a href='http://api.geonames.org/searchJSON?q=Roubaix,%20Nord-Pas-de-Calais&username=demo&maxRows=1&fuzzy=0.8' target='_new' rel="nofollow">http://api.geonames.org/searchJSON?q=Roubaix,%20Nord-Pas-de-Calais&username=demo&maxRows=1&fuzzy=0.8</a>

With fuzzy=1 the expected result is returned. This is particularly inconvenient when using the Geocoder library for Python, which has a GeoNames module with a fixed setting of 0.8 for the fuzzy parameter.

Is there a setting to use fuzzy search on composite names, or is this simply not possible?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4321.page#40803</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4321.page#40803</link>
				<pubDate><![CDATA[Fri, 7 Oct 2016 15:46:33]]> GMT</pubDate>
				<author><![CDATA[ Marijn]]></author>
			</item>
	</channel>
</rss>