Mark Gibson wrote:
Does the cost of calling getObject() for a dozen objects justify creating a new metadata field?


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.



Simplistix - Content Management, Zope & Python Consulting

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to