[Zope-CMF] portal_catalog
Janko Hauser
janko at need-brain.de
Tue Nov 11 16:13:48 EST 2003
On Tue, 11 Nov 2003 20:11:07 +0100
Dieter Maurer <dieter at handshake.de> wrote:
> Antony Higgs wrote at 2003-11-11 13:23 +0000:
> > Is it possible to stop contents of a specific directory from
> > being indexed by the catalog and if so how?
>
> Almost everything is possible when you are ready to modify the
> sources.
>
> The stock framework does not support location dependent indexing.
>
Look into the source of the CatalogTool.py in CMFCore. There is
already a wrapper defined, which gets wrapped around the objects
before indexing. You need to look in __getattr__ if you are in a
hidden place, and suppress the return of the attributes for example.
HTH,
__Janko
More information about the Zope-CMF
mailing list