interface ProductSearchFacetCountValue {
    filter?: _SearchQuery;
    level?: string;
    name: string;
    scope?: string;
}

Properties

filter?: _SearchQuery

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

level?: string

Specify whether to count Products (products) or Product Variants (variants).

name: string

Name of the count facet to appear in the ProductSearchFacetResultCount.

scope?: string

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