This service is used to trigger and process updates to the search indexes in Typesense.

Implements

  • OnApplicationBootstrap

Constructors

  • Internal

    Parameters

    • moduleRef: ModuleRef
    • connection: TransactionalConnection
    • configService: ConfigService
    • productVariantService: ProductVariantService
    • jobQueueService: JobQueueService
    • typesenseService: TypesenseService
    • collectionNameService: CollectionNameService
    • options: AdvancedSearchInitOptions
    • processContext: ProcessContext
    • requestContextCache: RequestContextCacheService

    Returns SearchIndexService

Methods

  • Internal

    Returns Promise<void>

  • Returns Promise<void>

    Validates the schema settings. Should be run on startup.