Debian Codegraph @

test/command/suite/index_column_diff/reference_vector.expected

raw
1 table_create Values TABLE_HASH_KEY ShortText
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 values COLUMN_VECTOR Values
6 [[0,0.0,0.0],true]
7 column_create Values data_index COLUMN_INDEX|WITH_SECTION Data values
8 [[0,0.0,0.0],true]
9 load --table Data
10 [
11 {"values": ["Hello World", "Good-by World"]},
12 {"values": ["Hello Groonga", "Good-by Groonga"]}
13 ]
14 [[0,0.0,0.0],2]
15 truncate Values.data_index
16 [[0,0.0,0.0],true]
17 load --table Data
18 [
19 {"values": ["Morning World", "Afternoon World"]},
20 {"values": ["Morning Groonga", "Afternoon World"]},
21 {"values": ["Duplicated", "Duplicated"]}
22 ]
23 [[0,0.0,0.0],3]
24 index_column_diff Values data_index
25 [
26 [
27 0,
28 0.0,
29 0.0
30 ],
31 [
32 {
33 "token": {
34 "id": 1,
35 "value": "Hello World"
36 },
37 "remains": [],
38 "missings": [
39 {
40 "record_id": 1,
41 "section_id": 1
42 }
43 ]
44 },
45 {
46 "token": {
47 "id": 2,
48 "value": "Good-by World"
49 },
50 "remains": [],
51 "missings": [
52 {
53 "record_id": 1,
54 "section_id": 1
55 }
56 ]
57 },
58 {
59 "token": {
60 "id": 3,
61 "value": "Hello Groonga"
62 },
63 "remains": [],
64 "missings": [
65 {
66 "record_id": 2,
67 "section_id": 1
68 }
69 ]
70 },
71 {
72 "token": {
73 "id": 4,
74 "value": "Good-by Groonga"
75 },
76 "remains": [],
77 "missings": [
78 {
79 "record_id": 2,
80 "section_id": 1
81 }
82 ]
83 }
84 ]
85 ]