| 1 |
table_create Memos TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Memos content COLUMN_SCALAR Text |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Terms index COLUMN_INDEX|WITH_POSITION Memos content |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Memos |
| 10 |
[ |
| 11 |
{"content": "This is a memo"} |
| 12 |
] |
| 13 |
[[0,0.0,0.0],1] |
| 14 |
delete Terms --key this |
| 15 |
[[0,0.0,0.0],true] |
| 16 |
select Terms --output_columns _key --sort_keys _key |
| 17 |
[[0,0.0,0.0],[[[3],[["_key","ShortText"]],["a"],["is"],["memo"]]]] |
| 18 |
reindex |
| 19 |
[[0,0.0,0.0],true] |
| 20 |
select Terms --output_columns _key --sort_keys _key |
| 21 |
[[0,0.0,0.0],[[[4],[["_key","ShortText"]],["a"],["is"],["memo"],["this"]]]] |