Mark Gibson wrote:
Does the cost of calling getObject() for a dozen objects justify
creating a new metadata field?
No.
More generally how does a large amount of metadata in the catalog affect
performance of queries?
Badly ;-)
The wisdom of those more knowledgeable than me would be appreciated.
As a rule of thumb, if you need a catalog search to return more than
10-20 objects and you need to do something with an attribute of all the
objects returned, then whack it in the metadata. If you only need it for
the 10-20 objects, then do getObject and get the attribute from the object.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )