Debian Codegraph @

test/command/suite/table_create/normalizers/multiple/offline.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR Text
4 [[0,0.0,0.0],true]
5 load --table Memos
6 [
7 {"content": "リンゴ"},
8 {"content": "りんご"}
9 ]
10 [[0,0.0,0.0],2]
11 table_create Normalizations TABLE_PAT_KEY ShortText
12 [[0,0.0,0.0],true]
13 column_create Normalizations normalized COLUMN_SCALAR ShortText
14 [[0,0.0,0.0],true]
15 load --table Normalizations
16 [
17 {"_key": "ご", "normalized": "[ご]"}
18 ]
19 [[0,0.0,0.0],1]
20 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizers 'NormalizerNFKC130("unify_kana", true), NormalizerTable("normalized", "Normalizations.normalized")'
21 [[0,0.0,0.0],true]
22 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
23 [[0,0.0,0.0],true]
24 select Terms --output_columns _key --limit -1
25 [
26 [
27 0,
28 0.0,
29 0.0
30 ],
31 [
32 [
33 [
34 5
35 ],
36 [
37 [
38 "_key",
39 "ShortText"
40 ]
41 ],
42 [
43 "["
44 ],
45 [
46 "]"
47 ],
48 [
49 "ご"
50 ],
51 [
52 "りん"
53 ],
54 [
55 "ん"
56 ]
57 ]
58 ]
59 ]
60 select Memos --match_columns content --query 'りん['
61 [
62 [
63 0,
64 0.0,
65 0.0
66 ],
67 [
68 [
69 [
70 2
71 ],
72 [
73 [
74 "_id",
75 "UInt32"
76 ],
77 [
78 "content",
79 "Text"
80 ]
81 ],
82 [
83 1,
84 "リンゴ"
85 ],
86 [
87 2,
88 "りんご"
89 ]
90 ]
91 ]
92 ]