[Zope] ZCatalog questions

Tres Seaver tseaver@palladion.com
Tue, 19 Oct 1999 21:24:06 -0500


Itamar <itamars@ibm.net> wrote

> 1.  What's the difference between the Metadata tab and the Indexing tab?

Metadata defines the field values cached for each catalogued object (I think).

> 2.  I understood from the draft CatalogAwareness how-to that editing a
> propertysheet with the built-in interface doesn't update the catalog -
> you have to do it manually.  Is it possible to check if an object
> inherits from CatalogAware?  Because if so, I'd change Zope to update
> the catalog automatically if the changed object was CatalogAware.

Hmm, why not:

  try:
    self.reindex_object()
  except:
    pass


-- 
=========================================================
Tres Seaver         tseaver@palladion.com    713-523-6582
Palladion Software  http://www.palladion.com