Hi,
I need to check an assumption I have made on the
ZCatalog Brains and Lazy Results from reading the source.
1. The Brains gets its schema from the ZCatalog and this
schema is basicly fixed. E.g. a search result always has
the attributes defined by the Meta Data in the ZCatalog?
I would rather be able to construct a Brain Schema at search time
equivalent to the way theSELECT statement sets up the result attributes
in SQL.
Example:
resultset = Catalog.searchResults(query,schema=('id','title','keywords'))
2. The laziness of the ZCatalog search result means it's batched?
Regards,
Johan Carlsson
torped
johan carlsson
birkagatan 9
113 36 stockholm
[EMAIL PROTECTED]
www.torped.se
voice +46-(0)-8-32 31 23
mobil +46-(0)-70-558 25 24
workshop
västmannagatan 67
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )