Commit b9a4073d authored by Matija Obreza's avatar Matija Obreza
Browse files

Delete from ES index

parent 29e31b83
......@@ -124,6 +124,12 @@ public class ElasticUpdaterAspect {
Object res = joinPoint.proceed();
// This will not trigger if an exception occurs
// Delete all
for (AccessionDetails accn : deletedAccessions) {
elasticUpdater.remove(Accession.class, accn.getId());
return res;
} finally {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment