[Zope] catalog-aware z-classes
Wed, 03 Jul 2002 17:13:17 +0100
thanks for your quick response.
I don't think I could use one catalog, as I'll be searching on different
fieldnames, and wanting different metadata for each z-class, so I would
need all the indexes and metadata for each object - there will be around
30 z-classes, so the catalog might have around 100 indexes and metadata
I prefer the idea having assigning a catalog to each z-class.
I can see this in the source code for
Catalog/CatalogAwareness.manage_editCataloger, which looks like it
allows the default to be changed through the ZMI, but have no idea how
to find and set this through the ZMI for my z-classes.
does anyone have any advice on how to do this?
From: email@example.com [mailto:firstname.lastname@example.org]
Sent: 03 July 2002 13:41
To: Ben Avery; email@example.com
Subject: RE: [Zope] catalog-aware z-classes
Why not store them in the same catalog and filter on meta_type when
Anyway, I don't think there is a problem storing ZClass instances in a
named other then Catalog, except for that it won't happen automatically,
have to do it yourself.
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com]On Behalf Of Ben
> Sent: Wednesday, July 03, 2002 2:14 PM
> To: firstname.lastname@example.org
> Subject: [Zope] catalog-aware z-classes
> I need to create a number of z-classes to represent objects, and want
> them to be catalog aware, with each having its own catalog.
> The example in the Zope book requires the catalog to have the id
> 'Catalog' or it won't work, as this is the default for ZCatalog-aware
> But I'll need different ids, as I have more than one catalog. How can
> override this default?
> Ben Avery
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )