23 Mar
2006
23 Mar
'06
7:29 a.m.
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