test/command/suite/select/function/fuzzy_search/pat/or.test
raw| 1 | table_create Users TABLE_PAT_KEY ShortText |
| 2 | |
| 3 | load --table Users |
| 4 | [ |
| 5 | {"_key": "Tom"}, |
| 6 | {"_key": "Tomy"}, |
| 7 | {"_key": "Ken"} |
| 8 | ] |
| 9 | |
| 10 | select Users \ |
| 11 | --filter '_key @^ "T" || fuzzy_search(_key, "Ke")' \ |
| 12 | --sort_keys _id \ |
| 13 | --output_columns '_key, _score' \ |
| 14 | --match_escalation_threshold -1 |