Debian Codegraph @

test/command/suite/load/vector/reference/missing_add/object/empty.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
2 [[0,0.0,0.0],true]
3 table_create Data TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Data tags COLUMN_VECTOR|WITH_WEIGHT|MISSING_ADD Tags
6 [[0,0.0,0.0],true]
7 load --table Tags
8 [
9 {"_key": "existent"}
10 ]
11 [[0,0.0,0.0],1]
12 load --table Data
13 [
14 {"tags": {"existent": 1, "": 2, "nonexistent": 3}}
15 ]
16 [[0,0.0,0.0],1]
17 dump
18 table_create Data TABLE_NO_KEY
19
20 table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
21
22 column_create Data tags COLUMN_VECTOR|WITH_WEIGHT Tags
23
24 load --table Tags
25 [
26 ["_key"],
27 ["existent"],
28 ["nonexistent"]
29 ]
30
31 load --table Data
32 [
33 ["_id","tags"],
34 [1,{"existent":1,"":2,"nonexistent":3}]
35 ]