test/command/suite/select/query/match/with_index/token_pattern/match.test
raw| 1 | table_create Menus TABLE_NO_KEY |
| 2 | column_create Menus name COLUMN_SCALAR Text |
| 3 | |
| 4 | table_create Keywords TABLE_PAT_KEY ShortText \ |
| 5 | --normalizer NormalizerNFKC100 \ |
| 6 | --default_tokenizer 'TokenPattern("pattern", "焼き?肉")' |
| 7 | column_create Keywords index COLUMN_INDEX Menus name |
| 8 | |
| 9 | load --table Menus |
| 10 | [ |
| 11 | {"name": "焼肉定食"}, |
| 12 | {"name": "焼き肉定食"} |
| 13 | ] |
| 14 | |
| 15 | select Menus --match_columns name --query "焼き肉弁当" |