test/command/suite/table_create/default_tokenizer/kytea/normalize.test
raw| 1 | #@on-error omit |
| 2 | plugin_register tokenizers/kytea |
| 3 | #@on-error default |
| 4 | |
| 5 | table_create Memos TABLE_NO_KEY |
| 6 | column_create Memos content COLUMN_SCALAR Text |
| 7 | |
| 8 | table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText \ |
| 9 | --default_tokenizer TokenKytea |
| 10 | column_create Terms memos_content COLUMN_INDEX Memos content |
| 11 | |
| 12 | load --table Memos |
| 13 | [ |
| 14 | {"content": "This is a pen."}, |
| 15 | {"content": "これはペンです。"} |
| 16 | ] |
| 17 | |
| 18 | select Terms --output_columns _key --limit -1 |