Result of a stats facet. The data type of min max, mean, and sum matches the data type of the field in the facet expression.

interface ProductSearchFacetResultStats {
    count: number;
    max: any;
    mean?: any;
    min: any;
    name: string;
    sum?: any;
}

Hierarchy (View Summary)

Properties

Properties

count: number

The total number of values counted that match the facet expression.

max: any

The maximum value of the field, scoped to the faceted results.

mean?: any

The average value of the field calculated as sum / count.

Only returned for number fields.
min: any

The minimum value of the field, scoped to the faceted results.

name: string

Name of the facet.

sum?: any

The sum of values of the field that match the facet expression.

Only returned for number fields.