<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "WS error : maxClauseCount"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "WS error : maxClauseCount"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>WS error : maxClauseCount</title>
				<description><![CDATA[ Hi,

When I execute the following request it returns an error :
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
&lt;geonames&gt;
     &lt;status message="maxClauseCount is set to 1024" value="12"/&gt;
&lt;/geonames&gt;
</pre>
		</div>
<a href='http://ws.geonames.org/search?country=FR&adminCode1=A2&featureClass=P&name_startsWith=saint%20m' target='_new' rel="nofollow">http://ws.geonames.org/search?country=FR&adminCode1=A2&featureClass=P&name_startsWith=saint%20m</a>

But interstingly enough it didn't happen for a very similar one:
<a href='http://ws.geonames.org/search?country=FR&adminCode1=A2&featureClass=P&name_startsWith=saint%20b' target='_new' rel="nofollow">http://ws.geonames.org/search?country=FR&adminCode1=A2&featureClass=P&name_startsWith=saint%20b</a>

I found someone that had the same issue in an old post <a href='http://forum.geonames.org/gforum/posts/list/149.page' target='_new' rel="nofollow">http://forum.geonames.org/gforum/posts/list/149.page</a> but it seems that it's still happening.

Any ideas?
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1453.page#6069</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1453.page#6069</link>
				<pubDate><![CDATA[Mon, 6 Jul 2009 15:49:30]]> GMT</pubDate>
				<author><![CDATA[ ybuch]]></author>
			</item>
			<item>
				<title>Re:WS error : maxClauseCount</title>
				<description><![CDATA[ There are too many records, so that the internal query rewritting to search for the places that start with the prefix hits a limit.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1453.page#6075</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1453.page#6075</link>
				<pubDate><![CDATA[Tue, 7 Jul 2009 21:57:56]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:WS error : maxClauseCount</title>
				<description><![CDATA[ I'm not sure to understand how the internal query works. 
But when I execute the following request it works perfectly even though the prefix is much smaller.
<a href='http://ws.geonames.org/search?country=FR&adminCode1=A2&featureClass=P&name_startsWith=s' target='_new' rel="nofollow">http://ws.geonames.org/search?country=FR&adminCode1=A2&featureClass=P&name_startsWith=s</a>

And to me there should be more records found with the prefix 's' than the prefix 'saint m', am I right? How would you explain this?

Thanks
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1453.page#6084</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1453.page#6084</link>
				<pubDate><![CDATA[Thu, 9 Jul 2009 09:11:53]]> GMT</pubDate>
				<author><![CDATA[ ybuch]]></author>
			</item>
			<item>
				<title>Re:WS error : maxClauseCount</title>
				<description><![CDATA[ small prefixes are hardcoded into the search index and longer prefixes are expanded into a wildcard query.
The index now includes longer prefixes than before, lets hope this will suffice.


Best

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1453.page#6097</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1453.page#6097</link>
				<pubDate><![CDATA[Sun, 12 Jul 2009 22:55:20]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>