ncbo / ncbo_annotator

To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations.
http://bioportal.bioontology.org/annotator
Other
18 stars 9 forks source link

Develop a way to remove individual ontology from Annotator cache #8

Open mdorf opened 4 years ago

mdorf commented 4 years ago

When a new ontology submission is uploaded and re-processed, the cache is re-populated with all the existing and new terms contained within the submission. However, if a term had been removed between the submissions, its entries still remain in the Annotator cache. Currently, the only way to remove these orphan terms is to regenerate the entire Annotator cache.

We've observed an increased number of cases, where this behavior causes wrong Annotations to be returned.

This functionality can be developed as a CRON job that runs weekly to remove orphan entries.