@coveo/headless-react
    Preparing search index...

    Interface CategoryFacetSearchResult

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

    Properties

    count: number

    An estimate of the number of result items that match both the current query and the filter expression which would be generated if the facet value were selected.

    displayValue: string

    The custom facet value display name, as specified in the captions argument of the facet request.

    path: string[]

    The hierarchical path to the selected facet value.

    rawValue: string

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