@gradientedge/commercetools-utils
    Preparing search index...

    Interface ProductTypeChangeIsSearchableAction

    Following this update the Products are reindexed asynchronously to reflect this change on the search endpoint. When enabling search on an existing Attribute type definition, the constraint regarding the maximum size of a searchable Attribute will not be enforced. Instead, AttributeDefinitions exceeding this limit will be treated as not searchable and will not be available for full-text search. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.

    interface ProductTypeChangeIsSearchableAction {
        action: "changeIsSearchable";
        attributeName: string;
        isSearchable: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "changeIsSearchable"
    attributeName: string

    Name of the AttributeDefinition to update.

    isSearchable: boolean

    Determines whether the Attribute's values can be used in full-text search queries, filters, and facets. See AttributeDefinition for details.