[OGo-XML-RPC] Re: limitation on XML-RPC result size? experiencing incomplete result sets

Damon Hart xmlrpc@opengroupware.org
Mon, 23 Oct 2006 13:43:36 -0400


Damon Hart wrote:

> Hi all -
>
> Is there an inherent limit on records contained in or other implicit
> filtering applied to the result set returned to an XML-RPC query?
>
> I'm currently migrating from an old FC1 OGo installation to FC5 OGo
> 1.1 (trunk) and I'm perplexed because I'm receiving apparently
> incomplete result sets from XML-RPC search requests to the new server.

I figured this out and am posting for the (hopefully small) portion of
users who are tripped up on the same issue. The LSMaxSearchCount
configuration parameter has a documented
(http://docs.opengroupware.org/Members/olivier/List%20of%20Defaults/document_view)
default value of "". A quick check using Defaults read on the two
systems shows LSMaxSearchCount = "" on the old installation but no
entry at all on the new installation. A careful look at the logged
queries indicates that data was retrieved only on the lowest 100
company_ids which matched the qualifier. Evidently, there is an
implicit limit of 100 records returned in the case that
LSMaxSearchCount is not set. Setting LSMaxSearchCount in the new
installation clears up the problem of truncated result sets.

regards,

Damon