You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2016/09/09 17:49:22 UTC

[jira] [Updated] (UIMA-830) add method cas.deleteView()

     [ https://issues.apache.org/jira/browse/UIMA-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Eckart de Castilho updated UIMA-830:
--------------------------------------------
    Labels: Stale  (was: )

This issue is marked as "stale" due to inactivity for 5 years or longer. If no further activity is detected on this issue, it is scheduled be closed as 'unresolved' in 3 months time from now (Dec 2016).

> 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
>              Labels: Stale
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)