Debian Codegraph @

test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.expected

raw
1 table_create Users TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Users name COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Names TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit
6 [[0,0.0,0.0],true]
7 column_create Names user COLUMN_INDEX|WITH_POSITION Users name
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 {"name": "Tom Yamada"},
12 {"name": "Tomy Yamada"},
13 {"name": "Ken Yamada"},
14 {"name": "Tom Yamad"}
15 ]
16 [[0,0.0,0.0],4]
17 select Users --filter 'fuzzy_search(name, "Tom Yamad")' --output_columns 'name, _score' --match_escalation_threshold -1
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 [
25 [
26 [
27 3
28 ],
29 [
30 [
31 "name",
32 "ShortText"
33 ],
34 [
35 "_score",
36 "Int32"
37 ]
38 ],
39 [
40 "Tom Yamada",
41 2
42 ],
43 [
44 "Tomy Yamada",
45 1
46 ],
47 [
48 "Tom Yamad",
49 3
50 ]
51 ]
52 ]
53 ]