uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-2486) XMI Delta CAS serialization does not write out FSes indexed in the Initial View which does not have a sofa
Date Thu, 01 Nov 2012 14:29:13 GMT

    [ https://issues.apache.org/jira/browse/UIMA-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488717#comment-13488717
] 

Marshall Schor commented on UIMA-2486:
--------------------------------------

This is a partial fix for issues here.  In particular, if delta serialization is being done,
and there is a sofa, it's existence above the mark (marker.isNew(sofa.getAddress()), for initial
views (which may not get a sofa until "later"), might be true, but that doesn't mean that
the index is also holding only newly added FSs, because the index repository is added when
the view was created, and any FSs already present there should not be reindexed (as they will
then appear twice unless it is a "set" kind of index).

Ben noticed this, and suggests that the logic be changed to go thru the writeView call for
pre-existing views, if the view is the "initial view".  I'll check with others to confirm
that this index repository is always created, and then change the logic of this patch to cover
this case.
                
> XMI Delta CAS serialization does not write out FSes indexed in the Initial View which
does not have a sofa
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-2486
>                 URL: https://issues.apache.org/jira/browse/UIMA-2486
>             Project: UIMA
>          Issue Type: Bug
>            Reporter: Benjamin Segal
>         Attachments: UIMA-2486.bps.patch
>
>
> I found a bug in the XMI CAS serializer where delta CAS serialization does not properly
handle FSes that were modified in the _InitialView, where the _InitialView does not contain
a sofa.  This improper handling results in feature structures being recorded in the XMI, but
are never indexed in the _InitialView.  Since the FSes aren't indexed, XMI deserialization
does not add these FSes to the _InitialView of the CAS.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message