@nosto/search-js
    Preparing search index...

    Type Alias SearchOptions<HD>

    SearchOptions: BaseOptions & {
        hitDecorators?: HD;
        maxRetries?: number;
        retryInterval?: number;
        useMemoryCache?: boolean;
        usePersistentCache?: boolean;
    }

    Type Parameters

    Type Declaration

    • OptionalhitDecorators?: HD

      Hit decorators to apply to the search results.

    • OptionalmaxRetries?: number

      Maximum number of retry attempts. Default: 0 (no retries).

    • OptionalretryInterval?: number

      Interval (in ms) between retry attempts. Default: 1000 ms.

    • OptionaluseMemoryCache?: boolean

      Whether to use a in-memory cache

    • OptionalusePersistentCache?: boolean

      Whether to use a persistent cache for the search results. Default: false.