Closed rsimon closed 6 years ago
Basically working in v3.0 branch, but still lacks retry functionality.
Retries will be needed, since it seems annotation rewrites occasionally cause version conflicts. I can't say for sure why. But it can happen when an annotation references multiple places from the gazetteer that's removed. I assume two subsequent batch-rewrites can overlap, timing-wise, in rare edge cases. (When testing on the full 1/2 million annotation dataset, removing all of Pleiades caused 2 version conflicts.)
It's currently not possible to remove a gazetteer from the index. If a gazetteer should be dropped, the only way to do it is to rebuild the index from scratch. Implement a clean "delete" method.