feat(search): index conversation maintenance

This commit is contained in:
2026-06-07 14:40:13 +08:00
parent 4ba1e6e847
commit 140b17ed72
5 changed files with 194 additions and 19 deletions
+1 -1
View File
@@ -679,7 +679,7 @@ func Bootstrap(env string) (*App, error) {
}
searchService := search.NewSearchServiceWithEngine(searchEngine, searchRepo)
searchIndexer := service.NewDurableSearchIndexer(db, workerPool, searchService)
service.RegisterBulkActionSearchIndexer(workerPool, db, searchIndexer)
service.RegisterConversationMaintenanceSearchIndexer(workerPool, db, searchIndexer)
conversationService.SetSearchIndexer(searchIndexer)
messageService.SetSearchIndexer(searchIndexer)
contactService.SetSearchIndexer(searchIndexer)