bug in how type systems are loaded: After you get the type system, you need to install it into the CAS, replacing that CAS's type system.
You do this using the bit of code you see in CASImpl reinit method (taking CASCompleteSerializer argument, line 1264-66). The key parts here are setting the cas's svd.casMetadata (which holds the main ref to the TS), and then calling commitTypeSystem() - a method in the CASImpl, which does the commit. -------------------- If you load a new type system, it's somewhat likely, that any existing index definition specification (which includes references to the types and features) will be invalid. This is why the serialization and loading always loads these together. I think that is the "safe" thing to do here, also. -Marshall
