@coveo/headless
    Preparing search index...

    Interface InstantResultOptions

    interface InstantResultOptions {
        cacheTimeout?: number;
        maxResultsPerQuery: number;
        searchBoxId?: string;
    }
    Index

    Properties

    cacheTimeout?: number

    Number in milliseconds that cached results will be valid for. Defaults to 1 minute. Set to 0 so that results never expire.

    maxResultsPerQuery: number

    The maximum items to be stored in the instant result list for each query.

    searchBoxId?: string

    A unique identifier for the search box.