@coveo/headless
    Preparing search index...

    Interface FacetSearchOptions

    interface FacetSearchOptions {
        captions?: Record<string, string>;
        numberOfValues?: number;
        query?: string;
    }
    Index

    Properties

    captions?: Record<string, string>

    A dictionary that maps index field values to facet value display names.

    numberOfValues?: number

    The maximum number of values to fetch.

    10

    query?: string

    The query to search the facet values with.