Debian Codegraph @

test/command/suite/select/query/match/with_index/sequential_reference_column.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos tag COLUMN_SCALAR Tags
6 [[0,0.0,0.0],true]
7 load --table Memos
8 [
9 {"_key": "Rroonga is fast!", "tag": "Rroonga"},
10 {"_key": "Groonga is fast!", "tag": "Groonga"},
11 {"_key": "Mroonga is fast!", "tag": "Mroonga"},
12 {"_key": "Groonga sticker!", "tag": "Groonga"},
13 {"_key": "Groonga is good!", "tag": "Groonga"}
14 ]
15 [[0,0.0,0.0],5]
16 column_create Tags memos_tag COLUMN_INDEX Memos tag
17 [[0,0.0,0.0],true]
18 log_level --level info
19 [[0,0.0,0.0],true]
20 select Memos --query '_id:>=3 tag:@Groonga' --output_columns _id,_score,_key,tag
21 [
22 [
23 0,
24 0.0,
25 0.0
26 ],
27 [
28 [
29 [
30 2
31 ],
32 [
33 [
34 "_id",
35 "UInt32"
36 ],
37 [
38 "_score",
39 "Int32"
40 ],
41 [
42 "_key",
43 "ShortText"
44 ],
45 [
46 "tag",
47 "Tags"
48 ]
49 ],
50 [
51 4,
52 2,
53 "Groonga sticker!",
54 "Groonga"
55 ],
56 [
57 5,
58 2,
59 "Groonga is good!",
60 "Groonga"
61 ]
62 ]
63 ]
64 ]
65 #|i| [table-selector][select][index][range][id] <Memos>
66 #|i| [object][search][index][key][exact] <Tags.memos_tag>
67 #|i| grn_ii_sel > (Groonga)
68 #|i| [ii][select] n=1 (Groonga)
69 #|i| [ii][select][index-not-used][reference] <Tags.memos_tag>: enough filtered and index search will match many records: 3 <= 3.50: n-existing-records:3 estimated-size:5 ratio:70.00%
70 #|i| exact: 3
71 #|i| hits=3
72 log_level --level notice
73 [[0,0.0,0.0],true]