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

    Interface ProductSearchFacetStatsValue

    interface ProductSearchFacetStatsValue {
        field: string;
        fieldType?: SearchFieldType;
        filter?: _SearchQuery;
        name: string;
        scope?: ProductSearchFacetScopeEnum;
    }
    Index

    Properties

    field: string

    The searchable Product field to facet on.

    fieldType?: SearchFieldType

    If the field is not standard, this must be the Attribute type.

    filter?: _SearchQuery

    Additional filtering expression to apply to the search result before calculating the facet.

    name: string

    Name of the stats facet to appear in the ProductSearchFacetResultStats.

    Whether the facet must consider only the Products resulting from the search (query) or all the Products (all).