Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version: Edit on GitHub

Exclude Fields

It is possible to exclude specified fields from the elasticsearch index by extending the services.yaml:

advanced_object_search:
    index_configuration:
        exclude_classes:
            - CustomerSegment
            - CustomerSegmentGroup
        exclude_fields:
            OfferToolOffer:
                - offernumber
            OfferToolOfferItem:
                - productName
                - productNumber

Please Note: Currently is not possible to exclude any specific field under a structured fieldset like Object Bricks and Field collections, but it is only possible to exclude the field entirely for a specific class.