<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Search filter"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Search filter"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Search filter</title>
				<description><![CDATA[ Hi,

I'm using the webservice API to perform full text search, but having some difficulties in getting the result that 'contains' the whole keyword.

For example:
http://ws.geonames.org/search?name=malaysia
Will return 845 hits which include Mỹ Tho of Vietnam in the result list. I want to filter this out. Using name_equals will help in this case: http://ws.geonames.org/search?name_equals=malaysia returns 4 hits.

However if the name contains 2 words, name_equals will not find it. For example: http://ws.geonames.org/search?name_equals=batam returns 2 hits.

While http://ws.geonames.org/search?name=batam returns 4 hits. In this case, "Pulau Batam" is the result I wanted and I will not get it with name_equals filter.

Is there away to achive both of these?

PS. I don't know which country the user is searching, so cannot use the country filter.

Thanks.
jay
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/179.page#958</guid>
				<link>http://forum.geonames.org/gforum/posts/list/179.page#958</link>
				<pubDate><![CDATA[Mon, 9 Oct 2006 08:52:50]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Re:Search filter</title>
				<description><![CDATA[ Hi Jay

This is a bug. You should not get "Mỹ Tho" searching with name=malaysia. We will have to fix this bug first.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/179.page#963</guid>
				<link>http://forum.geonames.org/gforum/posts/list/179.page#963</link>
				<pubDate><![CDATA[Mon, 9 Oct 2006 18:47:12]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Search filter</title>
				<description><![CDATA[ Hi Jay

The bug is fixed the search with name=malaysia now returns eight rows. It was a problem with the country name aliaser.

Regards

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/179.page#976</guid>
				<link>http://forum.geonames.org/gforum/posts/list/179.page#976</link>
				<pubDate><![CDATA[Thu, 12 Oct 2006 22:47:25]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>