Adam Lally wrote:
On 1/2/07, Thilo Goetz <[EMAIL PROTECTED]> wrote:
<snip/>
I'm not sure there's a contradiction between what I'm proposing,
and what's in the spec proposal. When I run an Apache UIMA application,
I make the decision what I want to see in my CAS. Any other application
deserializing XMI files may do the same. In Apache UIMA, we can just
call addToIndex() on each FS we deserialize.
Hmmm... well, that last sentence is a key new idea I didn't get.
Maybe that could be OK, but it does seem to have some strange effects.
As we don't seem to have indexing info in XMI, what else can we do?
Say in Apache UIMA I create an FS of a type that has an index defined
for it, but I never call addToIndexes for that FS. The FS will not be
in the index. Now say I create a reference to that FS so it's
reachable from something that's indexed, then do a XMI serialization
and deserialization. Now my FS will be in the index? Did I get that
right?
Right. As long as we don't have indexing info in the XMI format,
there's no way we can get that distinction right. Don't we have an
"indexed" attribute in XCAS? Did that get lost in the transition to XMI?
Also this seems to imply that we must allow the user to define some
kind of "global" indexes where such FS will go - right now we have no
such thing.
I believe you said that views are entirely optional in the spec
proposal, so we'll need global (non-view) indexes, anyway.
--Thilo