Debian Codegraph @

test/command/suite/column_copy/with_weight.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create CopyValueWithWeight TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create CopyValueWithWeight source_tags COLUMN_VECTOR|WITH_WEIGHT Tags
6 [[0,0.0,0.0],true]
7 column_create CopyValueWithWeight destination_tags COLUMN_VECTOR|WITH_WEIGHT Tags
8 [[0,0.0,0.0],true]
9 load --table CopyValueWithWeight
10 [
11 {
12 "_key": "Groonga is fast!!!",
13 "source_tags": {
14 "Groonga": 2,
15 "full text search": 1
16 }
17 }
18 ]
19 [[0,0.0,0.0],1]
20 column_copy CopyValueWithWeight source_tags CopyValueWithWeight destination_tags
21 [[0,0.0,0.0],true]
22 select CopyValueWithWeight
23 [
24 [
25 0,
26 0.0,
27 0.0
28 ],
29 [
30 [
31 [
32 1
33 ],
34 [
35 [
36 "_id",
37 "UInt32"
38 ],
39 [
40 "_key",
41 "ShortText"
42 ],
43 [
44 "destination_tags",
45 "Tags"
46 ],
47 [
48 "source_tags",
49 "Tags"
50 ]
51 ],
52 [
53 1,
54 "Groonga is fast!!!",
55 {
56 "Groonga": 2,
57 "full text search": 1
58 },
59 {
60 "Groonga": 2,
61 "full text search": 1
62 }
63 ]
64 ]
65 ]
66 ]