Re: [Zope3-Users] getting random results out of a catalogs field index

2007-05-07 Thread Christian Theune
Hey, Am Samstag, den 05.05.2007, 19:27 +0200 schrieb Dominique Lederer: > hi, thanks for the reply, i just managed to improve the performance of my > query > significantly: > > what i wanted to do was: > > - retrieve the len() of the catalog index > - retrieve a list() of the Resultset > - acce

Re: [Zope3-Users] getting random results out of a catalogs field index

2007-05-05 Thread Dominique Lederer
Christian Theune wrote: > Am Samstag, den 05.05.2007, 17:42 +0200 schrieb Dominique Lederer: >> hi >> >> i would like to retrieve a number of *random* entries out of a catalogs >> field index. >> >> i tried it with first getting the catalogindex-length an then accessing a >> randomized list-index,

Re: [Zope3-Users] getting random results out of a catalogs field index

2007-05-05 Thread Christian Theune
Am Samstag, den 05.05.2007, 17:42 +0200 schrieb Dominique Lederer: > hi > > i would like to retrieve a number of *random* entries out of a catalogs field > index. > > i tried it with first getting the catalogindex-length an then accessing a > randomized list-index, but this is very slow, because