Bugfix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user