Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Getting records X to X+20 of catalog search

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


D.Sinang at spi-bpo

May 12, 2008, 1:39 AM

Post #1 of 2 (167 views)
Permalink
Getting records X to X+20 of catalog search

Dear All,

How do we get records X to X+20 of a catalog search ?

We're aware of the "limit" parameter of the search () function, but this
only gives us the top Z rows.

If I want to show records 90 to 100, I'm trying to avoid having to fetch
records 1 to 89.

Regards,
Danny


lists at zopyx

May 12, 2008, 5:45 AM

Post #2 of 2 (162 views)
Permalink
Re: Getting records X to X+20 of catalog search [In reply to]

--On 12. Mai 2008 16:39:02 +0800 "Sinang, Danny" <D.Sinang[at]spi-bpo.com>
wrote:

> Dear All,
>
> How do we get records X to X+20 of a catalog search ?
>
> We're aware of the "limit" parameter of the search () function, but this
> only gives us the top Z rows.
>
> If I want to show records 90 to 100, I'm trying to avoid having to fetch
> records 1 to 89.

Catalog operations become basically expensive when you call getObject().
Slicing the resultset first should not be harmful.

-aj

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.