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

    Interface ProductSearchMatchingVariants

    interface ProductSearchMatchingVariants {
        allMatched: boolean;
        matchedVariants: ProductSearchMatchingVariantEntry[];
    }
    Index

    Properties

    allMatched: boolean

    true if all Variants of the returned Product match the search query, or if search query does not specify any expression for a Product Variant field.

    `false` if only a subset of the Product Variants match the search query.
    
    Is always `false` for query expressions on Product Variant fields.
    

    Identifiers of the Product Variants that match the search query.

    Empty if all Product Variants of the returned Product match.