Debian Codegraph @

test/command/suite/select/function/prefix_rk_search/nested_index.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
2 [[0,0.0,0.0],true]
3 column_create Tags reading COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Readings TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Readings tags_reading COLUMN_INDEX Tags reading
8 [[0,0.0,0.0],true]
9 table_create Memos TABLE_HASH_KEY ShortText
10 [[0,0.0,0.0],true]
11 column_create Memos tag COLUMN_SCALAR Tags
12 [[0,0.0,0.0],true]
13 column_create Tags memos_tag COLUMN_INDEX Memos tag
14 [[0,0.0,0.0],true]
15 load --table Tags
16 [
17 {"_key": "Mroonga", "reading": "ムルンガ"},
18 {"_key": "Groonga", "reading": "グルンガ"},
19 {"_key": "Group", "reading": "グループ"}
20 ]
21 [[0,0.0,0.0],3]
22 load --table Memos
23 [
24 {"_key": "Groonga is great!", "tag": "Groonga"},
25 {"_key": "Groonga and Rroonga", "tag": "Group"},
26 {"_key": "Rroonga is great!", "tag": "Rroonga"}
27 ]
28 [[0,0.0,0.0],3]
29 select Memos --filter 'prefix_rk_search(tag.reading, "gur")'
30 [
31 [
32 0,
33 0.0,
34 0.0
35 ],
36 [
37 [
38 [
39 2
40 ],
41 [
42 [
43 "_id",
44 "UInt32"
45 ],
46 [
47 "_key",
48 "ShortText"
49 ],
50 [
51 "tag",
52 "Tags"
53 ]
54 ],
55 [
56 1,
57 "Groonga is great!",
58 "groonga"
59 ],
60 [
61 2,
62 "Groonga and Rroonga",
63 "group"
64 ]
65 ]
66 ]
67 ]