[Zope] change Catalog name using self.reindex_object()
Dieter Maurer
dieter@handshake.de
Fri, 3 Aug 2001 22:14:58 +0200 (CEST)
Marcus Schopen writes:
> I use self.reindex_object() in a python script to update my Catalog when
> changing the objects content. The ZClass is catalog aware. Now I'd like
> to use not the default Catalog but a catalog called e.g. CatalogNews.
> Is there a possibility to reindex to CatalogNews or is just default
> Catalog possible?
You can use the method "manage_editCataloger" (defined in
"Products.CatalogAwareness.CatalogAware") to modify the
catalog used for indexing.
Dieter