Debian Codegraph @

test/command/suite/index_column_diff/remains/without_section.expected

raw
1 table_create Data TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Data value COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Patterns TABLE_PAT_KEY ShortText --normalizer NormalizerNFKC100
6 [[0,0.0,0.0],true]
7 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer "TokenTable('table', 'Patterns')" --normalizer NormalizerNFKC100
8 [[0,0.0,0.0],true]
9 column_create Terms data_value_index COLUMN_INDEX|WITH_POSITION Data value
10 [[0,0.0,0.0],true]
11 load --table Patterns
12 [
13 {"_key": "World"},
14 {"_key": "Groonga"}
15 ]
16 [[0,0.0,0.0],2]
17 load --table Data
18 [
19 {"value": "Hello World"},
20 {"value": "Hello Groonga"}
21 ]
22 [[0,0.0,0.0],2]
23 truncate Patterns
24 [[0,0.0,0.0],true]
25 load --table Data
26 [
27 {"_id": 1, "value": "Hello Groonga"},
28 {"_id": 2, "value": "Hello World"}
29 ]
30 [[0,0.0,0.0],2]
31 load --table Patterns
32 [
33 {"_key": "World"},
34 {"_key": "Groonga"}
35 ]
36 [[0,0.0,0.0],2]
37 load --table Data
38 [
39 {"value": "Hello Groonga"},
40 {"value": "Hello World"}
41 ]
42 [[0,0.0,0.0],2]
43 index_column_diff Terms data_value_index
44 [
45 [
46 0,
47 0.0,
48 0.0
49 ],
50 [
51 {
52 "token": {
53 "id": 2,
54 "value": "groonga"
55 },
56 "remains": [
57 {
58 "record_id": 2,
59 "position": 0
60 }
61 ],
62 "missings": [
63 {
64 "record_id": 1,
65 "position": 0
66 }
67 ]
68 },
69 {
70 "token": {
71 "id": 1,
72 "value": "world"
73 },
74 "remains": [
75 {
76 "record_id": 1,
77 "position": 0
78 }
79 ],
80 "missings": [
81 {
82 "record_id": 2,
83 "position": 0
84 }
85 ]
86 }
87 ]
88 ]