Debian Codegraph @

test/command/suite/index_column_diff/missings/with_section/json.expected

raw
1 table_create Data TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Data value1 COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 column_create Data value2 COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC100
8 [[0,0.0,0.0],true]
9 column_create Terms data_values_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Data value1,value2
10 [[0,0.0,0.0],true]
11 load --table Data
12 [
13 {"value1": "Hello World",
14 "value2": "Good-by World"},
15 {"value1": "Hello Groonga",
16 "value2": "Good-by Groonga"},
17 {"value1": "Hello World World",
18 "value2": "Good-by World World"},
19 {"value1": "Hello Groonga Groonga",
20 "value2": "Good-by Groonga Groonga"}
21 ]
22 [[0,0.0,0.0],4]
23 truncate Terms.data_values_index
24 [[0,0.0,0.0],true]
25 load --table Data
26 [
27 {"value1": "Morning World",
28 "value2": "Good night World"},
29 {"value1": "Morning Groonga",
30 "value2": "Good night Groonga"},
31 {"value1": "Morning World",
32 "value2": "Good night World"},
33 {"value1": "Morning Groonga",
34 "value2": "Good night Groonga"}
35 ]
36 [[0,0.0,0.0],4]
37 index_column_diff Terms data_values_index
38 [
39 [
40 0,
41 0.0,
42 0.0
43 ],
44 [
45 {
46 "token": {
47 "id": 1,
48 "value": "hello"
49 },
50 "remains": [],
51 "missings": [
52 {
53 "record_id": 1,
54 "section_id": 1,
55 "position": 0
56 },
57 {
58 "record_id": 2,
59 "section_id": 1,
60 "position": 0
61 },
62 {
63 "record_id": 3,
64 "section_id": 1,
65 "position": 0
66 },
67 {
68 "record_id": 4,
69 "section_id": 1,
70 "position": 0
71 }
72 ]
73 },
74 {
75 "token": {
76 "id": 2,
77 "value": "world"
78 },
79 "remains": [],
80 "missings": [
81 {
82 "record_id": 1,
83 "section_id": 1,
84 "position": 1
85 },
86 {
87 "record_id": 1,
88 "section_id": 2,
89 "position": 3
90 },
91 {
92 "record_id": 3,
93 "section_id": 1,
94 "position": 1
95 },
96 {
97 "record_id": 3,
98 "section_id": 1,
99 "position": 2
100 },
101 {
102 "record_id": 3,
103 "section_id": 2,
104 "position": 3
105 },
106 {
107 "record_id": 3,
108 "section_id": 2,
109 "position": 4
110 }
111 ]
112 },
113 {
114 "token": {
115 "id": 3,
116 "value": "good"
117 },
118 "remains": [],
119 "missings": [
120 {
121 "record_id": 1,
122 "section_id": 2,
123 "position": 0
124 },
125 {
126 "record_id": 2,
127 "section_id": 2,
128 "position": 0
129 },
130 {
131 "record_id": 3,
132 "section_id": 2,
133 "position": 0
134 },
135 {
136 "record_id": 4,
137 "section_id": 2,
138 "position": 0
139 }
140 ]
141 },
142 {
143 "token": {
144 "id": 4,
145 "value": "-"
146 },
147 "remains": [],
148 "missings": [
149 {
150 "record_id": 1,
151 "section_id": 2,
152 "position": 1
153 },
154 {
155 "record_id": 2,
156 "section_id": 2,
157 "position": 1
158 },
159 {
160 "record_id": 3,
161 "section_id": 2,
162 "position": 1
163 },
164 {
165 "record_id": 4,
166 "section_id": 2,
167 "position": 1
168 }
169 ]
170 },
171 {
172 "token": {
173 "id": 5,
174 "value": "by"
175 },
176 "remains": [],
177 "missings": [
178 {
179 "record_id": 1,
180 "section_id": 2,
181 "position": 2
182 },
183 {
184 "record_id": 2,
185 "section_id": 2,
186 "position": 2
187 },
188 {
189 "record_id": 3,
190 "section_id": 2,
191 "position": 2
192 },
193 {
194 "record_id": 4,
195 "section_id": 2,
196 "position": 2
197 }
198 ]
199 },
200 {
201 "token": {
202 "id": 6,
203 "value": "groonga"
204 },
205 "remains": [],
206 "missings": [
207 {
208 "record_id": 2,
209 "section_id": 1,
210 "position": 1
211 },
212 {
213 "record_id": 2,
214 "section_id": 2,
215 "position": 3
216 },
217 {
218 "record_id": 4,
219 "section_id": 1,
220 "position": 1
221 },
222 {
223 "record_id": 4,
224 "section_id": 1,
225 "position": 2
226 },
227 {
228 "record_id": 4,
229 "section_id": 2,
230 "position": 3
231 },
232 {
233 "record_id": 4,
234 "section_id": 2,
235 "position": 4
236 }
237 ]
238 }
239 ]
240 ]