Debian Codegraph @

test/command/suite/select/function/query_paralell_or/match_columns/multi.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Users TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Users comment COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 column_create Users tag COLUMN_SCALAR Tags
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 {"_key": "Alice", "comment": "I'm happy!", "tag": "beginer"},
12 {"_key": "Bob", "comment": "Hey!", "tag": "expert"},
13 {"_key": "Chris", "comment": "Wow!", "tag": "beginner"}
14 ]
15 [[0,0.0,0.0],3]
16 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC130
17 [[0,0.0,0.0],true]
18 column_create Terms users COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users _key,comment
19 [[0,0.0,0.0],true]
20 column_create Tags users COLUMN_INDEX Users tag
21 [[0,0.0,0.0],true]
22 select Users --output_columns _id,_key,_score --sort_keys _id --filter 'query_parallel_or("_key * 2 || comment || tag * 10", "Alice", "Bob", "happy", "expert")'
23 [
24 [
25 0,
26 0.0,
27 0.0
28 ],
29 [
30 [
31 [
32 2
33 ],
34 [
35 [
36 "_id",
37 "UInt32"
38 ],
39 [
40 "_key",
41 "ShortText"
42 ],
43 [
44 "_score",
45 "Int32"
46 ]
47 ],
48 [
49 1,
50 "Alice",
51 3
52 ],
53 [
54 2,
55 "Bob",
56 12
57 ]
58 ]
59 ]
60 ]