| 1 |
table_create Tags TABLE_PAT_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Terms tags_key COLUMN_INDEX|WITH_POSITION Tags _key |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Tags |
| 8 |
[ |
| 9 |
{"_key": "Great"} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
select Terms |
| 13 |
[ |
| 14 |
[ |
| 15 |
0, |
| 16 |
0.0, |
| 17 |
0.0 |
| 18 |
], |
| 19 |
[ |
| 20 |
[ |
| 21 |
[ |
| 22 |
1 |
| 23 |
], |
| 24 |
[ |
| 25 |
[ |
| 26 |
"_id", |
| 27 |
"UInt32" |
| 28 |
], |
| 29 |
[ |
| 30 |
"_key", |
| 31 |
"ShortText" |
| 32 |
], |
| 33 |
[ |
| 34 |
"tags_key", |
| 35 |
"UInt32" |
| 36 |
] |
| 37 |
], |
| 38 |
[ |
| 39 |
1, |
| 40 |
"great", |
| 41 |
1 |
| 42 |
] |
| 43 |
] |
| 44 |
] |
| 45 |
] |
| 46 |
truncate Tags |
| 47 |
[[0,0.0,0.0],true] |
| 48 |
select Terms |
| 49 |
[ |
| 50 |
[ |
| 51 |
0, |
| 52 |
0.0, |
| 53 |
0.0 |
| 54 |
], |
| 55 |
[ |
| 56 |
[ |
| 57 |
[ |
| 58 |
1 |
| 59 |
], |
| 60 |
[ |
| 61 |
[ |
| 62 |
"_id", |
| 63 |
"UInt32" |
| 64 |
], |
| 65 |
[ |
| 66 |
"_key", |
| 67 |
"ShortText" |
| 68 |
], |
| 69 |
[ |
| 70 |
"tags_key", |
| 71 |
"UInt32" |
| 72 |
] |
| 73 |
], |
| 74 |
[ |
| 75 |
1, |
| 76 |
"great", |
| 77 |
0 |
| 78 |
] |
| 79 |
] |
| 80 |
] |
| 81 |
] |