| 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": "Tom"}, |
| 12 |
{"name": "Tomy"}, |
| 13 |
{"name": "Ken"} |
| 14 |
] |
| 15 |
[[0,0.0,0.0],3] |
| 16 |
select Users --filter 'name @^ "T" && fuzzy_search(name, "To")' --output_columns 'name, _score' --match_escalation_threshold -1 |
| 17 |
[[0,0.0,0.0],[[[1],[["name","ShortText"],["_score","Int32"]],["Tom",2]]]] |