Debian Codegraph @

test/command/suite/select/scorer/expression/multiplication.test

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 column_create Users tags COLUMN_SCALAR ShortText
3
4 load --table Users
5 [
6 {"_key": "alice", "tags": "wonder"}
7 ]
8
9 select Users \
10 --filter true \
11 --scorer '_score = (tags @ "wonder") * 3' \
12 --output_columns _score