This commit is contained in:
Stefan Hardegger
2025-07-31 13:43:23 +02:00
parent b0c14d4b37
commit 090b858a54

View File

@@ -166,7 +166,9 @@ public class DatabaseManagementService {
// Reindex search after successful restore
try {
System.err.println("Starting Typesense reindex after successful restore...");
typesenseService.recreateCollections();
typesenseService.recreateStoriesCollection();
typesenseService.recreateAuthorsCollection();
// Note: Collections collection will be recreated when needed by the service
System.err.println("Typesense reindex completed successfully.");
} catch (Exception e) {
// Log the error but don't fail the restore