Prevent content types or some of their attributes from being indexed inside the portal_catalog
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



By default all content types in Plone are indexed. Indexing is expensive
so indexing everything all the time can be very bad for the performance
of you application, especially if you have a number of auxilliary
content types that don't require indexing.

upfront.catalogblacklist gives you back control of what is being indexed
and uses a Generice Setup profile for configuration. An example
configuration might look like this:

    <?xml version="1.0"?>
        <type name="Document">
            <index name="object_provides" />
            <index name="Description" />
        <type name="Folder">
            <index name="object_provides" />
        <type name="Event">
            <index name="*" />
        <interface name="Products.ATContentTypes.interfaces.IATFolder">
            <index name="object_provides" />

Note that you can blacklist by portal_type and by interface.


Create a generic setup profile with a file named catalogblacklist.xml.
Use the format in the example above to blacklist indexes per portal_type
or interface.