Add index creation

This commit is contained in:
Fred Boniface
2024-04-23 00:27:33 +01:00
parent fd08fe3c4c
commit 7bd9187e64
4 changed files with 66 additions and 9 deletions

View File

@@ -47,5 +47,9 @@ func RunCorpusUpdate(cfg *helpers.Configuration) error {
return err
}
if err := dbAccess.CreateCorpusIndexes(); err != nil {
log.Error("Corpus Indexes creation failed, application speed will be reduced", zap.Error(err))
}
return nil
}