Hi there,
Iam hopefully looking for help in this forum :-) I am using mongodb und spring. Guess I hava an annoted document (annotated width @Document and severals @Indexed) an the belonging repo. Now I drop the collection while my application is running. Now when I save a document to this collection, Spring recreates this collection. So far, so good. Unfortunately, the indexes are not recreated.
Does anyone know a solution for this problem?
Iam hopefully looking for help in this forum :-) I am using mongodb und spring. Guess I hava an annoted document (annotated width @Document and severals @Indexed) an the belonging repo. Now I drop the collection while my application is running. Now when I save a document to this collection, Spring recreates this collection. So far, so good. Unfortunately, the indexes are not recreated.
Does anyone know a solution for this problem?