Debian Codegraph @

test/command/suite/index_column_diff/missings/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 Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC100
6 [[0,0.0,0.0],true]
7 column_create Terms data_value_index COLUMN_INDEX|WITH_POSITION Data value
8 [[0,0.0,0.0],true]
9 load --table Data
10 [
11 {"value": "Hello World"},
12 {"value": "Hello Groonga"},
13 {"value": "Hello World World"},
14 {"value": "Hello Groonga Groonga"}
15 ]
16 [[0,0.0,0.0],4]
17 truncate Terms.data_value_index
18 [[0,0.0,0.0],true]
19 load --table Data
20 [
21 {"value": "Good-by World"},
22 {"value": "Good-by Groonga"},
23 {"value": "Good-by World"},
24 {"value": "Good-by Groonga"}
25 ]
26 [[0,0.0,0.0],4]
27 index_column_diff Terms data_value_index
28 [
29 [
30 0,
31 0.0,
32 0.0
33 ],
34 [
35 {
36 "token": {
37 "id": 1,
38 "value": "hello"
39 },
40 "remains": [],
41 "missings": [
42 {
43 "record_id": 1,
44 "position": 0
45 },
46 {
47 "record_id": 2,
48 "position": 0
49 },
50 {
51 "record_id": 3,
52 "position": 0
53 },
54 {
55 "record_id": 4,
56 "position": 0
57 }
58 ]
59 },
60 {
61 "token": {
62 "id": 2,
63 "value": "world"
64 },
65 "remains": [],
66 "missings": [
67 {
68 "record_id": 1,
69 "position": 1
70 },
71 {
72 "record_id": 3,
73 "position": 1
74 },
75 {
76 "record_id": 3,
77 "position": 2
78 }
79 ]
80 },
81 {
82 "token": {
83 "id": 3,
84 "value": "groonga"
85 },
86 "remains": [],
87 "missings": [
88 {
89 "record_id": 2,
90 "position": 1
91 },
92 {
93 "record_id": 4,
94 "position": 1
95 },
96 {
97 "record_id": 4,
98 "position": 2
99 }
100 ]
101 }
102 ]
103 ]