Debian Codegraph @

test/command/suite/select/scorer/expression/reference.expected

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Tag TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Users tags COLUMN_VECTOR Tag
6 [[0,0.0,0.0],true]
7 load --table Users
8 [
9 {"_key": "alice", "tags": ["book", "people"]}
10 ]
11 [[0,0.0,0.0],1]
12 select Users --filter true --scorer '_score = (tags._key != "cat")' --output_columns _score
13 [[0,0.0,0.0],[[[1],[["_score","Int32"]],[1]]]]