We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SELECT FROM City WHERE SEARCH_CLASS("+name:cas* +description:beautiful", { "allowLeadingWildcard": true , "boost": { "name": 2 } } ) = true
Error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float
SELECT FROM City WHERE SEARCH_CLASS("+name:cas* +description:beautiful", { "allowLeadingWildcard": true , "boost": { "name": 2.0f } } ) = true
Error: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Float
The text was updated successfully, but these errors were encountered:
Hi @apetropavlovskiy
how are you running this query?
Studio or Java API?
Thanks
Sorry, something went wrong.
Fixes #9118
73deaec
75e3589
Hi @apetropavlovskiy i've just landed a fix. It will be available in the next release or snapshot after test validation here https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/3.0.28-SNAPSHOT/
Thank you!
wolf4ood
No branches or pull requests
OrientDB Version: 3.0.27
Java Version: 1.8
OS: Windows 7 x64
Expected behavior
SELECT FROM City WHERE SEARCH_CLASS("+name:cas* +description:beautiful", { "allowLeadingWildcard": true , "boost": { "name": 2 } } ) = true
Actual behavior
Error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float
Steps to reproduce
SELECT FROM City WHERE SEARCH_CLASS("+name:cas* +description:beautiful", { "allowLeadingWildcard": true , "boost": { "name": 2.0f } } ) = true
Returns:
Error: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Float
The text was updated successfully, but these errors were encountered: