Debian Codegraph @

test/command/suite/select/function/fuzzy_search/pat/or.expected

raw
1 table_create Users TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 load --table Users
4 [
5 {"_key": "Tom"},
6 {"_key": "Tomy"},
7 {"_key": "Ken"}
8 ]
9 [[0,0.0,0.0],3]
10 select Users --filter '_key @^ "T" || fuzzy_search(_key, "Ke")' --sort_keys _id --output_columns '_key, _score' --match_escalation_threshold -1
11 [
12 [
13 0,
14 0.0,
15 0.0
16 ],
17 [
18 [
19 [
20 3
21 ],
22 [
23 [
24 "_key",
25 "ShortText"
26 ],
27 [
28 "_score",
29 "Int32"
30 ]
31 ],
32 [
33 "Tom",
34 1
35 ],
36 [
37 "Tomy",
38 1
39 ],
40 [
41 "Ken",
42 1
43 ]
44 ]
45 ]
46 ]