| 1 |
plugin_register functions/math |
| 2 |
|
| 3 |
table_create Values TABLE_NO_KEY |
| 4 |
column_create Values data COLUMN_SCALAR Int8 |
| 5 |
|
| 6 |
load --table Values |
| 7 |
[ |
| 8 |
{"data": 1} |
| 9 |
] |
| 10 |
|
| 11 |
select Values \ |
| 12 |
--filter true \ |
| 13 |
--output_columns '_id,_score' \ |
| 14 |
--scorer '_score = math_abs()' |