test/command/suite/select/query/match/with_index/token_mecab/use_reading.test
raw| 1 | #@require-feature mecab |
| 2 | |
| 3 | table_create Menus TABLE_NO_KEY |
| 4 | column_create Menus name COLUMN_SCALAR Text |
| 5 | |
| 6 | table_create Terms TABLE_PAT_KEY ShortText \ |
| 7 | --normalizer NormalizerNFKC100 \ |
| 8 | --default_tokenizer 'TokenMecab("use_reading", true)' |
| 9 | column_create Terms index COLUMN_INDEX|WITH_POSITION Menus name |
| 10 | |
| 11 | load --table Menus |
| 12 | [ |
| 13 | {"name": "焼肉定食"} |
| 14 | ] |
| 15 | |
| 16 | select Menus --match_columns name --query "焼き肉" |