Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-830

add method cas.deleteView()

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3
    • None
    • Core Java Framework

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            eddie_epstein Eddie Epstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: