pelagios / recogito2

Semantic Annotation Without the Pointy Brackets
Apache License 2.0
150 stars 30 forks source link

Removing a gazetteer from the index #129

Closed rsimon closed 6 years ago

rsimon commented 8 years ago

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.

rsimon commented 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.)