Re: [Zope] Re: how to unindex an non existing (deleted)object
Daniel Nouri schrieb: robert rottermann writes: Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? brain.aq_parent._catalog.uncatalogObject(brain.getPath()) Daniel brilliant, exactly what I needed thanks robert ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: how to unindex an non existing (deleted)object
robert rottermann writes: > Sometimes a catalog query returns brains that point to non existing objects. > > how can I remove such brains from the index programmatically without > using the portal_catalag/advanced/update tab? brain.aq_parent._catalog.uncatalogObject(brain.getPath()) Daniel ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )