Defines setup logic to be run during application bootstrap. Receives the Injector as an argument, which allows application providers to be used as part of the setup. This hook will be called on both the main server and the worker processes.
async init(injector: Injector) {
const myService = injector.get(MyService);
await myService.doSomething();
}
Logs a search event: either a list view or a result click.
Logs a search query.
An implementation of the AnalyticsStrategy which logs search events and queries to a ClickHouse database.