Skip to main content

SearchService

This service allows a concrete search service to override its behaviour by passing itself to the adopt() method.

Signature
class SearchService {    adopt(override: Pick<SearchService, 'reindex'>) => ;    reindex(ctx: RequestContext) => Promise<Job>;}

adopt

method(override: Pick<SearchService, 'reindex'>) =>

Adopt a concrete search service implementation to pass through the calls to.

reindex

method(ctx: RequestContext) => Promise<Job>
Was this chapter helpful?
Report Issue
Edited Feb 4, 2026·Edit this page