interface ProductSearchFacetRangesValue {
    field: string;
    fieldType?: string;
    filter?: _SearchQuery;
    language?: string;
    level?: string;
    name: string;
    ranges: ProductSearchFacetRangesFacetRange[];
    scope?: string;
}

Properties

field: string

The searchable Product field to facet on.

fieldType?: string

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.

language?: string

String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example: en, en-US, zh-Hans-SG.

level?: string

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

name: string

Name of the ranges facet to appear in the ProductSearchFacetResultBucket.

Define ranges for the facet.

scope?: string

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