You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2007/05/19 14:32:17 UTC
[jira] Commented: (UIMA-407) Cannot use uima.cas.Double key for
index
[ https://issues.apache.org/jira/browse/UIMA-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497148 ]
Marshall Schor commented on UIMA-407:
-------------------------------------
Good catch, thank you for finding and investigating this! Have you tested a fix (correcting line 61) by any chance, and if so, can you post the patch? The somewhat harder part of the fix is adding a testcase for this :-) Any help here appreciated!
> Cannot use uima.cas.Double key for index
> ----------------------------------------
>
> Key: UIMA-407
> URL: https://issues.apache.org/jira/browse/UIMA-407
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.1, 2.2
> Reporter: Mikhail Sogrin
> Priority: Minor
>
> Cannot use a uima.cas.Double feature as a key for index. Float works correctly.
> After investigating the problem, I found the issue in function FSIndexComparatorImpl.checkType(), line 61.
> Basically, it allows only Int, Float or String as keys for index. However, class FSLeafIndexImpl seems to have support for other types, like Double and Long.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.