Fulltext Index with Lucene: boost option does not work

Looks like there is no way to configure boosts in metadata:

SELECT FROM City WHERE SEARCH_CLASS("+name:cas*  +description:beautiful", {
"allowLeadingWildcard": true ,
"boost": {
    "name": 2
} }) = true

Returns an error related to “name”: 2:

Error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float

"name": 2.0f returns:

Error: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Float

Is there any way to configure boost?

Hi @Toseek

it seems a bug could you raise an issue here

I will check on it

Thanks