test/command/suite/column_rename/index/fulltext.test
raw| 1 | table_create Memos TABLE_NO_KEY |
| 2 | column_create Memos content COLUMN_SCALAR Text |
| 3 | |
| 4 | table_create Terms TABLE_PAT_KEY ShortText \ |
| 5 | --normalizer NormalizerAuto \ |
| 6 | --default_tokenizer TokenBigram |
| 7 | column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content |
| 8 | |
| 9 | load --table Memos |
| 10 | [ |
| 11 | {"content": "Groonga is fast."} |
| 12 | ] |
| 13 | |
| 14 | column_rename Terms memos_content memos_content_index |
| 15 | |
| 16 | dump |
| 17 | |
| 18 | select Memos --query "content:@groonga" |