| 1 |
table_create Users TABLE_HASH_KEY ShortText |
| 2 |
|
| 3 |
table_create Labels TABLE_HASH_KEY ShortText |
| 4 |
column_create Labels owner COLUMN_SCALR Users |
| 5 |
|
| 6 |
table_create Tags TABLE_HASH_KEY ShortText |
| 7 |
column_create Tags label COLUMN_SCALAR Labels |
| 8 |
|
| 9 |
table_create Memos TABLE_NO_KEY |
| 10 |
column_create Memos tags COLUMN_VECTOR Tags |
| 11 |
column_create Memos timestamp COLUMN_SCALAR Time |
| 12 |
|
| 13 |
table_create Terms TABLE_PAT_KEY ShortText \ |
| 14 |
--default_tokenizer TokenBigram \ |
| 15 |
--normalizer NormalizerNFKC100 |
| 16 |
column_create Terms tags_index \ |
| 17 |
COLUMN_INDEX|WITH_POSITION|WITH_SECTION Tags _key,label |
| 18 |
column_create Terms is_stop_word COLUMN_SCALAR Bool |
| 19 |
|
| 20 |
#@collect-query-log true |
| 21 |
io_flush Memos.tags --recursive dependent |
| 22 |
#@collect-query-log false |