Solrcas should be fail-fast if type system mapping is incompatible
------------------------------------------------------------------
Key: UIMA-2066
URL: https://issues.apache.org/jira/browse/UIMA-2066
Project: UIMA
Issue Type: Improvement
Components: Sandbox-Solrcas
Reporter: Jörn Kottmann
The SolrCASConsumer does not check if the specified types in the mapping file
are actually compatible with the provided type system. Depending on the mapping
and the processed CASes it might fail or cause incorrectly indexed data. In
both cases the problem might be hard to diagnose when it also depends on the
data in the CAS, e.g. it only fails if a FS of a certain type is present.
During initialization the compatibility should be checked and in case of a
problem fail with a meaningful error message.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira