You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2011/02/22 12:59:38 UTC
[jira] Created: (UIMA-2066) Solrcas should be fail-fast if type
system mapping is incompatible
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
[jira] [Updated] (UIMA-2066) Solrcas should be fail-fast if type
system mapping is incompatible
Posted by "Tommaso Teofili (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tommaso Teofili updated UIMA-2066:
----------------------------------
Fix Version/s: 2.3.1Addons
Assignee: Tommaso Teofili
> 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
[jira] [Resolved] (UIMA-2066) Solrcas should be fail-fast if type
system mapping is incompatible
Posted by "Tommaso Teofili (JIRA)" <de...@uima.apache.org>.
[ 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