[ https://issues.apache.org/jira/browse/UIMA-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15378204#comment-15378204 ]
Marshall Schor commented on UIMA-4722: -------------------------------------- change set 1722779 > 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)