| 1 |
plugin_register functions/math |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Values TABLE_NO_KEY |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Values data COLUMN_SCALAR Int8 |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Values |
| 8 |
[ |
| 9 |
{"data": 1} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
select Values --filter true --output_columns '_id,_score' --scorer '_score = math_abs()' |
| 13 |
[ |
| 14 |
[ |
| 15 |
[ |
| 16 |
-22, |
| 17 |
0.0, |
| 18 |
0.0 |
| 19 |
], |
| 20 |
"[select][scorer] failed to execute: <_score = math_abs()>: math_abs(): wrong number of arguments (0 for 1)" |
| 21 |
] |
| 22 |
] |
| 23 |
#|e| math_abs(): wrong number of arguments (0 for 1) |
| 24 |
#|e| [select][scorer] failed to execute: <_score = math_abs()>: math_abs(): wrong number of arguments (0 for 1) |