Load Annotations from Metacat in Annotation plugin
Currently only locally stored annotations are loaded (at startup when the Annotation Plugin is initialized).
For a large local corpus of EML data packages that all have annotations, this could get costly. Moreover, loading all remote annotations would be a nightmare if we did it at start up (worst case scenario).
I think the best approach for remote files will be to search for and load their annotations when they themselves are opened.
We want to continue to load local annotations (until we run into a memory limit and have to solve that problem) so that we can continue to support the current annotation-based searching.
So back to the topic of this bug:
when a DP is opened from the remote repository, the associated annotation[s] should be downloaded and loaded into the SMS manager. This will allow us to continue annotating the DP as though it were local. (Perhaps we should force a network>local synchronization before annotation begins? TBD)
#2 Updated by ben leinfelder over 10 years ago
Remote (Metacat-stored) annotations are now being loaded in the local (Morpho) AnnotationManager when the EML packages are opened from the remote location. They are both cached behind the scenes, but appear to be "network" resources when saving.
This works fine for viewing and editing annotations and for sharing your annotated datapackages with others, but it does not address annotation-based searching for remote annotations. I think that still needs to be a Metacat feature that Morpho can call rather than something the local Morpho annotation manager loads at startup (costly).