Debian Codegraph @

test/command/suite/delete/index/key/multiple.expected

raw
1 table_create Memos TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create BigramTokens TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
4 [[0,0.0,0.0],true]
5 column_create BigramTokens memo_key COLUMN_INDEX|WITH_POSITION Memos _key
6 [[0,0.0,0.0],true]
7 table_create TrigramTokens TABLE_PAT_KEY ShortText --default_tokenizer TokenTrigram --normalizer NormalizerAuto
8 [[0,0.0,0.0],true]
9 column_create TrigramTokens memo_key COLUMN_INDEX|WITH_POSITION Memos _key
10 [[0,0.0,0.0],true]
11 load --table Memos
12 [
13 {"_key": "Today is sunny day."}
14 ]
15 [[0,0.0,0.0],1]
16 select Memos --filter '_key @ "sunny"'
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 1
27 ],
28 [
29 [
30 "_id",
31 "UInt32"
32 ],
33 [
34 "_key",
35 "ShortText"
36 ]
37 ],
38 [
39 1,
40 "Today is sunny day."
41 ]
42 ]
43 ]
44 ]
45 select BigramTokens
46 [
47 [
48 0,
49 0.0,
50 0.0
51 ],
52 [
53 [
54 [
55 5
56 ],
57 [
58 [
59 "_id",
60 "UInt32"
61 ],
62 [
63 "_key",
64 "ShortText"
65 ],
66 [
67 "memo_key",
68 "UInt32"
69 ]
70 ],
71 [
72 5,
73 ".",
74 1
75 ],
76 [
77 4,
78 "day",
79 1
80 ],
81 [
82 2,
83 "is",
84 1
85 ],
86 [
87 3,
88 "sunny",
89 1
90 ],
91 [
92 1,
93 "today",
94 1
95 ]
96 ]
97 ]
98 ]
99 select TrigramTokens
100 [
101 [
102 0,
103 0.0,
104 0.0
105 ],
106 [
107 [
108 [
109 5
110 ],
111 [
112 [
113 "_id",
114 "UInt32"
115 ],
116 [
117 "_key",
118 "ShortText"
119 ],
120 [
121 "memo_key",
122 "UInt32"
123 ]
124 ],
125 [
126 5,
127 ".",
128 1
129 ],
130 [
131 4,
132 "day",
133 1
134 ],
135 [
136 2,
137 "is",
138 1
139 ],
140 [
141 3,
142 "sunny",
143 1
144 ],
145 [
146 1,
147 "today",
148 1
149 ]
150 ]
151 ]
152 ]
153 delete Memos --filter '_key @ "sunny"'
154 [[0,0.0,0.0],true]
155 select Memos
156 [[0,0.0,0.0],[[[0],[["_id","UInt32"],["_key","ShortText"]]]]]
157 select BigramTokens
158 [
159 [
160 0,
161 0.0,
162 0.0
163 ],
164 [
165 [
166 [
167 5
168 ],
169 [
170 [
171 "_id",
172 "UInt32"
173 ],
174 [
175 "_key",
176 "ShortText"
177 ],
178 [
179 "memo_key",
180 "UInt32"
181 ]
182 ],
183 [
184 5,
185 ".",
186 0
187 ],
188 [
189 4,
190 "day",
191 0
192 ],
193 [
194 2,
195 "is",
196 0
197 ],
198 [
199 3,
200 "sunny",
201 0
202 ],
203 [
204 1,
205 "today",
206 0
207 ]
208 ]
209 ]
210 ]
211 select TrigramTokens
212 [
213 [
214 0,
215 0.0,
216 0.0
217 ],
218 [
219 [
220 [
221 5
222 ],
223 [
224 [
225 "_id",
226 "UInt32"
227 ],
228 [
229 "_key",
230 "ShortText"
231 ],
232 [
233 "memo_key",
234 "UInt32"
235 ]
236 ],
237 [
238 5,
239 ".",
240 0
241 ],
242 [
243 4,
244 "day",
245 0
246 ],
247 [
248 2,
249 "is",
250 0
251 ],
252 [
253 3,
254 "sunny",
255 0
256 ],
257 [
258 1,
259 "today",
260 0
261 ]
262 ]
263 ]
264 ]