Debian Codegraph @

test/command/suite/table_create/default_tokenizer/ngram/options/loose.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos tel COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer 'TokenNgram("loose_symbol", true, "loose_blank", true)' --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Terms memos_tel COLUMN_INDEX Memos tel
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"tel": "03-5632-7432"},
12 {"tel": "03 5632 7432"},
13 {"tel": "(03)5632-7432"},
14 {"tel": "0356327432"},
15 {"tel": "03-7432-5632"}
16 ]
17 [[0,0.0,0.0],5]
18 select Terms --output_columns _key --limit -1
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 9
29 ],
30 [
31 [
32 "_key",
33 "ShortText"
34 ]
35 ],
36 [
37 "("
38 ],
39 [
40 ")"
41 ],
42 [
43 "-"
44 ],
45 [
46 "03"
47 ],
48 [
49 "0356327432"
50 ],
51 [
52 "0374325632"
53 ],
54 [
55 "5632"
56 ],
57 [
58 "7432"
59 ],
60 [
61 "￰"
62 ]
63 ]
64 ]
65 ]
66 select Memos --match_columns tel --query '0356327432'
67 [
68 [
69 0,
70 0.0,
71 0.0
72 ],
73 [
74 [
75 [
76 4
77 ],
78 [
79 [
80 "_id",
81 "UInt32"
82 ],
83 [
84 "tel",
85 "ShortText"
86 ]
87 ],
88 [
89 1,
90 "03-5632-7432"
91 ],
92 [
93 2,
94 "03 5632 7432"
95 ],
96 [
97 3,
98 "(03)5632-7432"
99 ],
100 [
101 4,
102 "0356327432"
103 ]
104 ]
105 ]
106 ]
107 select Memos --match_columns tel --query '"03-5632-7432"'
108 [
109 [
110 0,
111 0.0,
112 0.0
113 ],
114 [
115 [
116 [
117 4
118 ],
119 [
120 [
121 "_id",
122 "UInt32"
123 ],
124 [
125 "tel",
126 "ShortText"
127 ]
128 ],
129 [
130 1,
131 "03-5632-7432"
132 ],
133 [
134 2,
135 "03 5632 7432"
136 ],
137 [
138 3,
139 "(03)5632-7432"
140 ],
141 [
142 4,
143 "0356327432"
144 ]
145 ]
146 ]
147 ]
148 select Memos --match_columns tel --query '"03 5632 7432"'
149 [
150 [
151 0,
152 0.0,
153 0.0
154 ],
155 [
156 [
157 [
158 4
159 ],
160 [
161 [
162 "_id",
163 "UInt32"
164 ],
165 [
166 "tel",
167 "ShortText"
168 ]
169 ],
170 [
171 1,
172 "03-5632-7432"
173 ],
174 [
175 2,
176 "03 5632 7432"
177 ],
178 [
179 3,
180 "(03)5632-7432"
181 ],
182 [
183 4,
184 "0356327432"
185 ]
186 ]
187 ]
188 ]
189 select Memos --match_columns tel --query '5632'
190 [
191 [
192 0,
193 0.0,
194 0.0
195 ],
196 [
197 [
198 [
199 4
200 ],
201 [
202 [
203 "_id",
204 "UInt32"
205 ],
206 [
207 "tel",
208 "ShortText"
209 ]
210 ],
211 [
212 1,
213 "03-5632-7432"
214 ],
215 [
216 2,
217 "03 5632 7432"
218 ],
219 [
220 3,
221 "(03)5632-7432"
222 ],
223 [
224 5,
225 "03-7432-5632"
226 ]
227 ]
228 ]
229 ]
230 select Memos --match_columns tel --query '32'
231 [[0,0.0,0.0],[[[0],[["_id","UInt32"],["tel","ShortText"]]]]]
232 select Memos --match_columns tel --query '0'
233 [
234 [
235 0,
236 0.0,
237 0.0
238 ],
239 [
240 [
241 [
242 5
243 ],
244 [
245 [
246 "_id",
247 "UInt32"
248 ],
249 [
250 "tel",
251 "ShortText"
252 ]
253 ],
254 [
255 1,
256 "03-5632-7432"
257 ],
258 [
259 2,
260 "03 5632 7432"
261 ],
262 [
263 3,
264 "(03)5632-7432"
265 ],
266 [
267 4,
268 "0356327432"
269 ],
270 [
271 5,
272 "03-7432-5632"
273 ]
274 ]
275 ]
276 ]
277 select Memos --match_columns tel --query '03'
278 [
279 [
280 0,
281 0.0,
282 0.0
283 ],
284 [
285 [
286 [
287 4
288 ],
289 [
290 [
291 "_id",
292 "UInt32"
293 ],
294 [
295 "tel",
296 "ShortText"
297 ]
298 ],
299 [
300 1,
301 "03-5632-7432"
302 ],
303 [
304 2,
305 "03 5632 7432"
306 ],
307 [
308 3,
309 "(03)5632-7432"
310 ],
311 [
312 5,
313 "03-7432-5632"
314 ]
315 ]
316 ]
317 ]