Debian Codegraph @

test/command/suite/select/query/match/with_index/sequential_reference_vector.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 tags COLUMN_VECTOR Tags
6 [[0,0.0,0.0],true]
7 load --table Memos
8 [
9 {"_key": "Rroonga is fast!", "tags": ["Rroonga"]},
10 {"_key": "Groonga is fast!", "tags": ["Groonga"]},
11 {"_key": "Mroonga is fast!", "tags": ["Mroonga"]},
12 {"_key": "Groonga sticker!", "tags": ["Groonga", "Sticker"]},
13 {"_key": "Groonga is good!", "tags": ["Groonga", "Groonga"]}
14 ]
15 [[0,0.0,0.0],5]
16 column_create Tags memos_tags COLUMN_INDEX Memos tags
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 tags:@Groonga' --output_columns _id,_score,_key,tags
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 "tags",
47 "Tags"
48 ]
49 ],
50 [
51 4,
52 2,
53 "Groonga sticker!",
54 [
55 "Groonga",
56 "Sticker"
57 ]
58 ],
59 [
60 5,
61 3,
62 "Groonga is good!",
63 [
64 "Groonga",
65 "Groonga"
66 ]
67 ]
68 ]
69 ]
70 ]
71 #|i| [table-selector][select][index][range][id] <Memos>
72 #|i| [object][search][index][key][exact] <Tags.memos_tags>
73 #|i| grn_ii_sel > (Groonga)
74 #|i| [ii][select] n=1 (Groonga)
75 #|i| [ii][select][index-not-used][reference] <Tags.memos_tags>: enough filtered and index search will match many records: 3 <= 3.50: n-existing-records:3 estimated-size:5 ratio:70.00%
76 #|i| exact: 3
77 #|i| hits=3
78 log_level --level notice
79 [[0,0.0,0.0],true]