Debian Codegraph @

test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.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
6 [[0,0.0,0.0],true]
7 column_create Names user COLUMN_INDEX Users name
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 {"name": "とむ"},
12 {"name": "とみー"},
13 {"name": "けん"}
14 ]
15 [[0,0.0,0.0],3]
16 select Names --filter 'fuzzy_search(_key, "とむ", {"max_distance": 5, "prefix_length": 1})' --output_columns '_key, _score' --match_escalation_threshold -1
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 2
27 ],
28 [
29 [
30 "_key",
31 "ShortText"
32 ],
33 [
34 "_score",
35 "Int32"
36 ]
37 ],
38 [
39 "とむ",
40 6
41 ],
42 [
43 "とみー",
44 4
45 ]
46 ]
47 ]
48 ]