Debian Codegraph @

test/command/suite/select/query/prefix/index_multiple.expected

raw
1 table_create --name NamesFullTextSearchIndex --flags TABLE_PAT_KEY --key_type ShortText --default_tokenizer TokenBigramSplitSymbolAlphaDigit --normalizer NormalizerAuto
2 [[0,0.0,0.0],true]
3 table_create --name NamesIndex --flags TABLE_PAT_KEY --key_type ShortText
4 [[0,0.0,0.0],true]
5 table_create --name Users --flags TABLE_HASH_KEY --key_type UInt32
6 [[0,0.0,0.0],true]
7 column_create --table Users --name name --flags COLUMN_SCALAR --type ShortText
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 ["_key", "name"],
12 [1, "Alice"],
13 [2, "Bob"]
14 ]
15 [[0,0.0,0.0],2]
16 column_create --table NamesFullTextSearchIndex --name index --flags COLUMN_INDEX|WITH_POSITION --type Users --source name
17 [[0,0.0,0.0],true]
18 column_create --table NamesIndex --name index --flags COLUMN_INDEX --type Users --source name
19 [[0,0.0,0.0],true]
20 log_level --level info
21 [[0,0.0,0.0],true]
22 select --table Users --query 'name:^"Ali"'
23 [
24 [
25 0,
26 0.0,
27 0.0
28 ],
29 [
30 [
31 [
32 1
33 ],
34 [
35 [
36 "_id",
37 "UInt32"
38 ],
39 [
40 "_key",
41 "UInt32"
42 ],
43 [
44 "name",
45 "ShortText"
46 ]
47 ],
48 [
49 1,
50 1,
51 "Alice"
52 ]
53 ]
54 ]
55 ]
56 #|i| [table-selector][select][index][prefix] <NamesIndex.index>
57 log_level --level notice
58 [[0,0.0,0.0],true]