[Zope] Can # of query results returned be limited?

Michael Lewis michael@nichestaffing.com
10 Apr 2003 15:37:09 -0600


Thanks for the pointer.

On Thu, 2003-04-10 at 12:03, Dieter Maurer wrote:
> Michael Lewis wrote at 2003-4-9 17:28 -0600:
>  > I was just wondering if the total number of query results returned on a
>  > dtml-in Catalog could be limited.  I know that "size=" limits the batch
>  > size, but can't seem to find if it is possible to limit the total
>  > number.
> 
> I think you can limit the number of results returned
> by catalog searches. When I am right then this is new in
> Zope 2.6.1. I did not yet used this feature
> (but only read Casey's "Catalog optimizations for Zope 2.6.1
> which mentions this).
> You must look at the source (--> Products/ZCatalog/ZCatalog.py;
> "searchResults").
> 
> 
> Dieter
-- 
Michael Lewis <michael@nichestaffing.com>
NicheStaffing.com