[
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.