[
https://issues.apache.org/jira/browse/UIMA-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor updated UIMA-830:
--------------------------------
Component/s: Core Java Framework
Affects Version/s: 2.3
defer past 2.3.0
> add method cas.deleteView()
> ---------------------------
>
> Key: UIMA-830
> URL: https://issues.apache.org/jira/browse/UIMA-830
> Project: UIMA
> Issue Type: New Feature
> Components: Core Java Framework
> Affects Versions: 2.3
> Reporter: Eddie Epstein
>
> All CAS content except for SofaFS can be "deleted" by removing any references
> to it. The data is not actually deleted, but data without references is left
> out of future XML serializations of the CAS.
> The proposal here is to allow deletion of SofaFS, by deleting the view
> containing it. The actions would be to clear out the view's index repository
> and un-index the SofaFS. These are a few lines of code.
> However, if the SofaFS or any annotations in that view are referenced by FS
> in other views, these FS would still be serialized out. An additional check
> could be put into serialization to ignore un-indexed SofaFS and any
> annotations pointing to such a SofaFS. Here again, a few lines of code, but
> with some additional overhead to serialization of annotations.
> Comments?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.