interface CategoryFieldSuggestionsValue {
    count: number;
    displayValue: string;
    path: string[];
    rawValue: string;
}

Properties

count: number

An estimated number of result items matching both the current query and the filter expression that would get generated if this field suggestion was selected.

displayValue: string

The custom field suggestion display name, as specified in the captions argument of the FieldSuggestion controller.

path: string[]

The hierarchical path to the value.

["Electronics", "Smartphones", "Android phones"]
rawValue: string

The original field value, as retrieved from the field in the index.