[
https://issues.apache.org/jira/browse/UIMA-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili resolved UIMA-2066.
-----------------------------------
Resolution: Fixed
a first implementation of this can be found inside the typeSystemInit() method
> 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
> Assignee: Tommaso Teofili
> Fix For: 2.3.1Addons
>
>
> 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