@coveo/headless
    Preparing search index...

    Interface FetchInstantResultsActionCreatorPayload

    interface FetchInstantResultsActionCreatorPayload {
        cacheTimeout?: number;
        id: string;
        maxResultsPerQuery: number;
        q: string;
    }
    Index

    Properties

    cacheTimeout?: number

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

    id: string

    The search box ID.

    maxResultsPerQuery: number

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

    q: string

    The query for which instant results are retrieved.