Debian Codegraph @

test/command/suite/load/index/online/vector/full_text_hash.expected

raw
1 table_create Users TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Users names COLUMN_VECTOR ShortText
4 [[0,0.0,0.0],true]
5 table_create Words TABLE_HASH_KEY --key_type ShortText --default_tokenizer TokenBigramSplitSymbolAlpha
6 [[0,0.0,0.0],true]
7 column_create Words users_name COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users names
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 ["names"],
12 [["Alice", "Bob"]],
13 [["Bob"]]
14 ]
15 [[0,0.0,0.0],2]
16 select Users --match_columns "Words.users_name[1]" --query Bob
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 1
27 ],
28 [
29 [
30 "_id",
31 "UInt32"
32 ],
33 [
34 "names",
35 "ShortText"
36 ]
37 ],
38 [
39 1,
40 [
41 "Alice",
42 "Bob"
43 ]
44 ]
45 ]
46 ]
47 ]