Function
zope.app.catalog.catalog.indexAdded

Signature

indexAdded(index, event)

Documentation String

When an index is added to a catalog, we have to index existing objects

When an index is added, we tell it's parent to index it:

>>> class FauxCatalog:
...     def updateIndex(self, index):
...         self.updated = index
>>> class FauxIndex:
...     pass
>>> index = FauxIndex()
>>> index.__parent__ = FauxCatalog()
>>> indexAdded(index, None)
>>> index.__parent__.updated is index
True