Debian Codegraph @

test/command/suite/select/query/equal/multiple_column_index.expected

raw
1 table_create Paths TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Files TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Files path COLUMN_SCALAR Paths
6 [[0,0.0,0.0],true]
7 column_create Files sub_paths COLUMN_VECTOR Paths
8 [[0,0.0,0.0],true]
9 column_create Paths index COLUMN_INDEX|WITH_SECTION Files path,sub_paths
10 [[0,0.0,0.0],true]
11 load --table Files
12 [
13 {
14 "path": "/var/lib/www/index.html",
15 "sub_paths": ["var", "lib", "www", "index.html"]
16 },
17 {
18 "path": "/var/log/messages",
19 "sub_paths": ["var", "log", "messages"]
20 },
21 {
22 "path": "var",
23 "sub_paths": []
24 }
25 ]
26 [[0,0.0,0.0],3]
27 select Files --query path:var --output_columns _id,path,_score
28 [
29 [
30 0,
31 0.0,
32 0.0
33 ],
34 [
35 [
36 [
37 1
38 ],
39 [
40 [
41 "_id",
42 "UInt32"
43 ],
44 [
45 "path",
46 "Paths"
47 ],
48 [
49 "_score",
50 "Int32"
51 ]
52 ],
53 [
54 3,
55 "var",
56 1
57 ]
58 ]
59 ]
60 ]