<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Relevancy of search results?"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Relevancy of search results?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Relevancy of search results?</title>
				<description><![CDATA[ In using the basic "search" web service, I'm attempting to search for city "Bear" in state "Delaware" within the U.S.  My search URL is laid out as follows:

http://ws.geonames.org/search?q=bear,+de&featureClass=P&style=long

I can't seem to figure out why the second result is showing up when it doesn't have "bear" or "de" anywhere in its returned values.

Is there a way to show the relevancy of the results or something like that?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/950.page#4236</guid>
				<link>http://forum.geonames.org/gforum/posts/list/950.page#4236</link>
				<pubDate><![CDATA[Thu, 26 Jun 2008 21:30:37]]> GMT</pubDate>
				<author><![CDATA[ mhuggins]]></author>
			</item>
			<item>
				<title>Re:Relevancy of search results?</title>
				<description><![CDATA[ Okay, after pulling <a href="http://ws.geonames.org/get?id=3033884" target="_new" rel="nofollow">this</a> up, I realized that one of the alternate country names there is "Bear", which is why it was returned in the results.  However, I'd still like to know if there is a way to check the relevancy of the result compared to what was requested.  (Are results returned as "most relevant" first?)

On a separate note, I'm also wondering if there's a way to get any of the admin codes via a search call to the web service, or if I need to perform a search followed by a get just for this one field.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/950.page#4237</guid>
				<link>http://forum.geonames.org/gforum/posts/list/950.page#4237</link>
				<pubDate><![CDATA[Thu, 26 Jun 2008 21:36:26]]> GMT</pubDate>
				<author><![CDATA[ mhuggins]]></author>
			</item>
			<item>
				<title>Re:Relevancy of search results?</title>
				<description><![CDATA[ The search result is ordered by relevancy.

I don't get the second point. The admin codes are included in the search service. Why do you need a second call?

Or would you prefer the geonameid instead of the admin code? There is another thread where a user is asking for the geonameid to be used for admin divs for which we don't have yet an admin code:
http://forum.geonames.org/gforum/posts/list/943.page
We could even go further then what the poster suggests and completely switch to the geonameid and use the admin code(s) as additional table.

Best

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/950.page#4238</guid>
				<link>http://forum.geonames.org/gforum/posts/list/950.page#4238</link>
				<pubDate><![CDATA[Thu, 26 Jun 2008 21:51:15]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Relevancy of search results?</title>
				<description><![CDATA[ Thanks for the info regarding the relevancy, marc.

Also, sorry for the confusion on my second point.  I'm attempting to search using the "search" web service.  If I'm searching for "bear, de" (city Bear in state DE/Delaware within the U.S.), there is no field returned to show that it is in fact the state of DE where the result was found (as opposed to country DE/Germany, for example).  See the example of what I mean below:

http://ws.geonames.org/search?q=bear+de&featureClass=P&style=long]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/950.page#4240</guid>
				<link>http://forum.geonames.org/gforum/posts/list/950.page#4240</link>
				<pubDate><![CDATA[Thu, 26 Jun 2008 22:02:33]]> GMT</pubDate>
				<author><![CDATA[ mhuggins]]></author>
			</item>
			<item>
				<title>Re:Relevancy of search results?</title>
				<description><![CDATA[ Oh, I see. The full information is available with style=full:
http://ws.geonames.org/search?q=bear,de&featureClass=P&style=full

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/950.page#4241</guid>
				<link>http://forum.geonames.org/gforum/posts/list/950.page#4241</link>
				<pubDate><![CDATA[Thu, 26 Jun 2008 22:09:33]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Relevancy of search results?</title>
				<description><![CDATA[ <p></p>

		<cite>marc wrote:</cite><br>
		<blockquote>Oh, I see. The full information is available with style=full:
http://ws.geonames.org/search?q=bear,de&featureClass=P&style=full

Marc&nbsp;
		</blockquote>
Bah!  I'm an idiot.  I thought style=long was the highest I could go.  Thanks for correcting me! :D]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/950.page#4243</guid>
				<link>http://forum.geonames.org/gforum/posts/list/950.page#4243</link>
				<pubDate><![CDATA[Thu, 26 Jun 2008 22:17:38]]> GMT</pubDate>
				<author><![CDATA[ mhuggins]]></author>
			</item>
	</channel>
</rss>