You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2016/07/14 19:40:20 UTC

[jira] [Resolved] (UIMA-4722) updateDocumentAnnotation not properly doing remove from indexes

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

Marshall Schor resolved UIMA-4722.
----------------------------------
    Resolution: Fixed

Not sure this was ever a real issue.

> updateDocumentAnnotation not properly doing remove from indexes
> ---------------------------------------------------------------
>
>                 Key: UIMA-4722
>                 URL: https://issues.apache.org/jira/browse/UIMA-4722
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.8.1SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp, 2.8.2SDK
>
>
> The DocumentAnnotation is indexed; it is a subtype of AnnotationBase, so it is indexed in one view.  The method to update it (cas.updateDocumentAnnotation) attempts to remove it from the indexes but doesn't pick the proper view to do this; it uses the "current view" which is usually correct, but may not be (was not in one test case for UIMA V3, where this was discovered). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)