Debian Codegraph @

test/command/suite/select/function/in_values/with_index/hash_key.expected

raw
1 table_create Memos TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Memos tag COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Tags memos_tag COLUMN_INDEX Memos tag
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast", "tag": "Groonga"},
12 {"_key": "Mroonga is fast", "tag": "Mroonga"},
13 {"_key": "Rroonga is fast", "tag": "Rroonga"}
14 ]
15 [[0,0.0,0.0],3]
16 log_level --level info
17 [[0,0.0,0.0],true]
18 select Memos --filter 'in_values(tag, "groonga", "mroonga")' --output_columns _key,tag
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 2
29 ],
30 [
31 [
32 "_key",
33 "ShortText"
34 ],
35 [
36 "tag",
37 "ShortText"
38 ]
39 ],
40 [
41 "Groonga is fast",
42 "Groonga"
43 ],
44 [
45 "Mroonga is fast",
46 "Mroonga"
47 ]
48 ]
49 ]
50 ]
51 #|i| [table-selector][select][index][selector][in_values] <Tags.memos_tag>
52 #|i| [object][search][index][key][exact] <Tags.memos_tag>
53 #|i| grn_ii_sel > (groonga)
54 #|i| [ii][select] n=1 (groonga)
55 #|i| exact: 1
56 #|i| hits=1
57 #|i| [object][search][index][key][exact] <Tags.memos_tag>
58 #|i| grn_ii_sel > (mroonga)
59 #|i| [ii][select] n=1 (mroonga)
60 #|i| exact: 2
61 #|i| hits=2
62 log_level --level notice
63 [[0,0.0,0.0],true]