Debian Codegraph @

test/command/suite/select/index/nested/by_column/with_token_delimit.expected

raw
1 table_create Users TABLE_HASH_KEY ShortText --default_tokenizer TokenDelimit
2 [[0,0.0,0.0],true]
3 column_create Users hobby COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Files TABLE_PAT_KEY ShortText
6 [[0,0.0,0.0],true]
7 column_create Files owners COLUMN_VECTOR Users
8 [[0,0.0,0.0],true]
9 column_create Users files_owners COLUMN_INDEX Files owners
10 [[0,0.0,0.0],true]
11 table_create Hobbies TABLE_HASH_KEY ShortText
12 [[0,0.0,0.0],true]
13 column_create Hobbies users_hobby COLUMN_INDEX Users hobby
14 [[0,0.0,0.0],true]
15 load --table Users
16 [
17 {"_key": "alice", "hobby": "programming"},
18 {"_key": "bob", "hobby": "programming"},
19 {"_key": "carlos", "hobby": "running"}
20 ]
21 [[0,0.0,0.0],3]
22 load --table Files
23 [
24 {"_key": "/home/alice/.zshrc", "owners": "alice bob"},
25 {"_key": "/home/bob/.bashrc", "owners": "bob"},
26 {"_key": "/home/calros/public_html/index.html", "owners": "carlos"}
27 ]
28 [[0,0.0,0.0],3]
29 log_level --level info
30 [[0,0.0,0.0],true]
31 select Files --filter 'owners.hobby @ "programming"' --output_columns '_key, owners, owners.hobby, _score'
32 [
33 [
34 0,
35 0.0,
36 0.0
37 ],
38 [
39 [
40 [
41 2
42 ],
43 [
44 [
45 "_key",
46 "ShortText"
47 ],
48 [
49 "owners",
50 "Users"
51 ],
52 [
53 "owners.hobby",
54 "ShortText"
55 ],
56 [
57 "_score",
58 "Int32"
59 ]
60 ],
61 [
62 "/home/alice/.zshrc",
63 [
64 "alice",
65 "bob"
66 ],
67 [
68 "programming",
69 "programming"
70 ],
71 2
72 ],
73 [
74 "/home/bob/.bashrc",
75 [
76 "bob"
77 ],
78 [
79 "programming"
80 ],
81 1
82 ]
83 ]
84 ]
85 ]
86 #|i| [object][search][index][key][exact] <Hobbies.users_hobby>
87 #|i| grn_ii_sel > (programming)
88 #|i| [ii][select] n=1 (programming)
89 #|i| exact: 2
90 #|i| hits=2
91 #|i| [accessor][resolve][data-column][index] <Users.files_owners>
92 log_level --level notice
93 [[0,0.0,0.0],true]